【发布时间】:2016-09-06 17:23:00
【问题描述】:
可以在here找到CSV格式的示例数据。
给定以下代码:
figure()
grp.vis.plot(kind='hist', alpha=.5, normed=True)
show()
我得到下图:
为什么 pandas 会在图中插入空白?值的范围从 0 到 7,并且都表示出来,所以我看不出为什么会发生这种情况。
提前非常感谢!
【问题讨论】:
标签: python pandas matplotlib histogram