How to bin a numerical pandas Series into n groups of approximately the same size without qcut?

后端 未结 0 457
失恋的感觉
失恋的感觉 2021-01-14 13:48

I would like to split my series into exactly n groups (assuming there are at least n distinct values in the series), where the group sizes are approximately equal.

Th

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