2个数据范围堆叠的列的价值计数显示了双Y标签
我正在尝试显示彼此堆叠的2个数据范围的列受众的价值计数。 Y标签向观众展示了两次。有没有办法删除该方法?
DFGroup.Audience.value_counts().sort_values().unstack('Key').plot(kind = 'barh', stacked = True)
上面找到了代码。我也想更改配色方案
I am trying to show the value counts of the column Audience of 2 dataframes stacked on each other. The y label is showing the Audience twice. Is there a way to remove that please?
DFGroup.Audience.value_counts().sort_values().unstack('Key').plot(kind = 'barh', stacked = True)
The code is found above. I also want to change the color scheme
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论