pandas 0.9.1 documentation

pandas.DataFrame.boxplot

DataFrame.boxplot(column=None, by=None, ax=None, fontsize=None, rot=0, grid=True, **kwds)

Make a box plot from DataFrame column/columns optionally grouped (stratified) by one or more columns

Parameters :

data : DataFrame

column : column names or list of names, or vector

Can be any valid input to groupby

by : string or sequence

Column in the DataFrame to group by

fontsize : int or string

Returns :

ax : matplotlib.axes.AxesSubplot