Charts Straight from pandas: df.plot

Every DataFrame and Series has a plot method that draws it with matplotlib, so kind= picks a line, bar, barh, scatter or hist chart, ax=ax draws it on an Axes you made, a groupby result can be plotted at the end of the same chain, and what comes back is the same matplotlib Axes you label, save and test.

By

Updated

Cheat sheet: Charts Straight from pandas: df.plot
Category
Data Analysis
Level
Journeyman
Tags
Axes, DataFrame.plot(), matplotlib, python