Table Of Contents

Search

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

pandas.Series.plot.kde

Series.plot.kde(bw_method=None, ind=None, **kwds)[source]

Kernel Density Estimate plot

Parameters:

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.Series.plot().

Returns:

axes : matplotlib.AxesSubplot or np.array of them

Scroll To Top