plot.
line
Plot Series as lines.
This function is useful to plot lines using Series’s values as coordinates.
Columns to use for the horizontal axis. Either the location or the label of the columns to be used. By default, it will use the DataFrame indices.
The values to be plotted. Either the location or the label of the columns to be used. By default, it will use the remaining DataFrame numeric columns.
Keyword arguments to pass on to Series.plot().
Series.plot()
Return an ndarray when subplots=True.
subplots=True
See also
matplotlib.pyplot.plot
Plot y versus x as lines and/or markers.
Examples
Basic plot.
>>> s = ks.Series([1, 3, 2]) >>> ax = s.plot.line()