Python: Is there a way to randomly split data from pandas dataframe into train and validation set

前端 未结 0 1054
一个人的身影
一个人的身影 2020-12-31 10:07

I have a sparse matrix each columns contains price of a future. I hope to randomly split the data into two sets. I understand that train_test_split in sklearn can randomly s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题