【发布时间】:2019-12-06 22:24:14
【问题描述】:
尝试绘制二维表但出现错误
我的表只有 2 列,代码是:
Combined = pd.read_csv(file_path, parse_dates=['Revenue_mth'], index_col = ['Revenue_mth'])
plt.xlabel('Date')
plt.ylabel('Revenue amount')
plt.plot(Combined)
【问题讨论】:
-
请张贴几行您的输入 (
file_path) 并添加pandas标签。
标签: python python-3.x pandas matplotlib