📜  绘制特定列 pandas - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:22.784000             🧑  作者: Mango

代码示例1
#For one column
import matplotlib.pyplot as plt
df['Name Of Column'].plot()
plt.show()
#For Multiple Columns
import matplotlib.pyplot as plt
df[['Name Of Column1', 'Name Of Column2']].plot()
plt.show()