pandas plot 某一列 (pandas plot column)

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html

请看如上的文档

 

plt.figure()
N30_0032_P4['mean pupil'].plot(xlabel='date',ylabel='pupil size',kind = 'line', title = 'N30_0032_P4')
plt.show()

N30_0032_P3['mean pupil'].plot(xlabel='date', ylabel='pupil size', kind='line', title='N30_0032_P3')
plt.show()

N30_0032_P2['mean pupil'].plot(xlabel='date', ylabel='pupil size', kind='line', title='N30_0032_P2')
plt.show()

 

 
posted @ 2021-05-31 21:24  bH1pJ  阅读(140)  评论(0编辑  收藏  举报