plt.plot [:,0]和[:,1]的含义

这个问题在这里已经有了答案:

  • 了解Python的切片符号29个答案
  • Python的数组切片用逗号? 3个答案

  • 这是在Numpy / Pandas中使用的符号。

    [ : , 0 ] meas(或多或少) [ first_row:last_row , column_0 ] - 您有2维列表/矩阵/数组,并且可以获得列0中的所有值(来自所有行)。

    链接地址: http://www.djcxy.com/p/26749.html

    上一篇: plt.plot meaning of [:,0] and [:,1]

    下一篇: What is the meaning of [:] in python