plt.plot(df3.index,df3[‘pv‘].astype(int),label=‘PV‘)通过astype转换成int,坐标抽才能排序
关于绘图时候x,y轴数据类型
原文:https://www.cnblogs.com/zhaolei1986/p/12875630.html