pandas 0.7.0 documentation

pandas.DataFrame.plot

DataFrame.plot(subplots=False, sharex=True, sharey=False, use_index=True, figsize=None, grid=True, legend=True, rot=30, ax=None, kind='line', **kwds)

Make line plot of DataFrame’s series with the index on the x-axis using matplotlib / pylab.

Parameters :

subplots : boolean, default False

Make separate subplots for each time series

sharex : boolean, default True

In case subplots=True, share x axis

sharey : boolean, default False

In case subplots=True, share y axis

use_index : boolean, default True

Use index as ticks for x axis

kind : {‘line’, ‘bar’}

kwds : keywords

Options to pass to Axis.plot

Notes

This method doesn’t make much sense for cross-sections, and will error.