train_test_split: divide classes given class in other column

后端 未结 0 408
[愿得一人]
[愿得一人] 2020-12-10 02:10

I have this pandas dataframe:

ID label age   sex  type    
0   0    20.0   0   0.0 
1   1    20.0   0   1.0 
2   0    20.0   1   0.0 
3   1    20.0   1   1.0          


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