Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x in range(1,4): # int for the random seed
- randsamp = df.sample(frac=0.1, random_state=x)
- randsamp.to_csv("./sample"+str(x)+".csv",sep=';')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement