18
ser = Series(['one', 'two', 'three', 'two', 'two'])
如何绘制这些值的基本直方图?
这里是什么,我会希望在matplotlib看到一个ASCII版本:
X
X X X
-------------
one two three
我厌倦了看到:
TypeError: cannot concatenate 'str' and 'float' objects
这正是我一直在寻找。非常感谢你! –
另一种方法是使用[seaborn](https://stanford.edu/~mwaskom/software/seaborn/generated/seaborn.countplot.html)'countplot'。 – Romain