Table Of Contents


Enter search terms or a module, class or function name.


DataFrame.plot.density(bw_method=None, ind=None, **kwds)[source]

Kernel Density Estimate plot


bw_method: str, scalar or callable, optional

The method used to calculate the estimator bandwidth. This can be ‘scott’, ‘silverman’, a scalar constant or a callable. If None (default), ‘scott’ is used. See scipy.stats.gaussian_kde for more information.

ind : NumPy array or integer, optional

Evaluation points. If None (default), 1000 equally spaced points are used. If ind is a NumPy array, the kde is evaluated at the points passed. If ind is an integer, ind number of equally spaced points are used.

`**kwds` : optional

Keyword arguments to pass on to pandas.DataFrame.plot().


axes : matplotlib.AxesSubplot or np.array of them

Scroll To Top