import numpy as nu
import pandas as pdimport matplotlib.pylab as ma
#导入相关模块下需要的函数操作date=pd.read_csv("D:hexun.csv")date1=date.T
#转至把行变成列x=date1.values[3]y=date1.values[4]
#把想要数据赋给x轴和y轴ma.plot(x,y)ma.show()
#最后绘图完毕