Stratified sampling of a DataFrame into N splits without replacement

后端 未结 0 940
谎友^
谎友^ 2020-12-08 18:32

Given I have a dataframe X, I want to split it into N dataframes such that the distribution of each set is roughly the same (i.e stratified)

Whats the best way of doi

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