Categorical Variables Table with Percentages in python

后端 未结 0 1194
小鲜肉
小鲜肉 2020-12-07 18:14

How to find the percentage of a value basis on the total value of a categorical variable. Below is the code and the output. result.groupby(\'Pred_bucket\')[\'AMOUNT\']

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