Matplotlib/SNS: plot histogram but with average of another variable on the y-axis

前端 未结 0 817
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 08:27

I have a continuous variable A and a one hot encoded variable B (only 0s and 1s). I want a histogram where A is divided into 10 equal-width bins, and the y-axis variable is the

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