Distribution of Items in Dataframe into Randomized Groups with Values Cap

前端 未结 0 569
情深已故
情深已故 2021-02-07 02:47

In the picture below, assume the table on the right is a pandas dataframe. I would like to randomly distribute each item in the dataframe between groups A, B, and C.

The

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