dimanche 13 mai 2018

How to split the data frame randomly using numpy?

My dataframe has 400k records. I want to split the dataframe into 10k records randomly using numpy.random.sample. Could anyone tell how to do that?




Aucun commentaire:

Enregistrer un commentaire