How to Randomly select n rows from pandas using group by multiple columns with min and max count from each group

前端 未结 0 1716
栀梦
栀梦 2021-02-02 13:00

I have a data frame and I want to get multiple output samples from the dataset.

And there are some constraints like min and max for each of the categories like, n

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