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