【发布时间】:2018-04-22 22:20:56
【问题描述】:
如何显示 [a, b, c] 的 x 轴值?
import pandas as pd
import matplotlib.pyplot as plt
s = pd.Series([1, 2, 10], index=['a', 'b', 'c'])
s.plot()
plt.show()
【问题讨论】:
标签: python pandas matplotlib
如何显示 [a, b, c] 的 x 轴值?
import pandas as pd
import matplotlib.pyplot as plt
s = pd.Series([1, 2, 10], index=['a', 'b', 'c'])
s.plot()
plt.show()
【问题讨论】:
标签: python pandas matplotlib