1--# Series直接生成图表
.plot()
kind → line,bar,barh...(折线图,柱状图,柱状图-横...)
# label → 图例标签,Dataframe格式以列名为label

2--两种方式生成
df.plot()也可以 → plt.plot(df)
df.plot()也可以 → plt.plot(df)
本文标题:3.6 基本图表绘制 plt.plot(),kind,label
本文链接:https://www.haomeiwen.com/subject/jutbrftx.html
网友评论