How to get a sample dataset from large datafram while keeping the proportion of categorical variables in a column

前端 未结 0 1735
慢半拍i
慢半拍i 2021-02-01 01:20

I have a large DataFrame with 2 million observations. For my further analysis, I intend to use a relatively smaller sample (around 15-20% of the original DataFrame) drawn from t

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