美文网首页
3.6 基本图表绘制 plt.plot(),kind,label

3.6 基本图表绘制 plt.plot(),kind,label

作者: 夏日春风 | 来源:发表于2018-05-07 21:41 被阅读0次

    1--# Series直接生成图表

    .plot()

    kind → line,bar,barh...(折线图,柱状图,柱状图-横...)

    # label → 图例标签,Dataframe格式以列名为label

    2--两种方式生成

    df.plot()也可以 → plt.plot(df)

    相关文章

      网友评论

          本文标题:3.6 基本图表绘制 plt.plot(),kind,label

          本文链接:https://www.haomeiwen.com/subject/jutbrftx.html