Enter search terms or a module, class or function name.
DataFrame.boxplot(column=None,by=None,ax=None,fontsize=None,rot=0,grid=True,figsize=None,layout=None,return_type=None,**kwds)[source]¶Make a box plot from DataFrame column optionally grouped by some columns orother inputs
| Parameters: | data : the pandas object holding the data column : column name or list of names, or vector
by : string or sequence
ax : Matplotlib axes object, optional fontsize : int or string rot : label rotation angle figsize : A tuple (width, height) in inches grid : Setting this to True will show the grid layout : tuple (optional)
return_type : {None, ‘axes’, ‘dict’, ‘both’}, default None
kwds : other plotting keyword arguments to be passed to matplotlib boxplot
|
|---|---|
| Returns: | lines : dict ax : matplotlib Axes (ax, lines): namedtuple |
Notes
Usereturn_type='dict' when you want to tweak the appearanceof the lines after plotting. In this case a dict containing the Linesmaking up the boxes, caps, fliers, medians, and whiskers is returned.