1
necomancer 2019 年 3 月 26 日
df.set_index(pd.to_datetime(df[5])).plot()
或者 df2.index=pd.to_datetime(df[5]) 检查一下 dtype,你需要转换成时间,字符串不行的。 |
2
necomancer 2019 年 3 月 26 日 或者 df = df.set_index(pd.to_datetime(df[5]))
再 df['ema'].plot() |
3
yellowtail OP @necomancer 已解决,谢谢
|