xarray.Dataset.azstats.kde

xarray.Dataset.azstats.kde#

Dataset.azstats.kde(dim=None, **kwargs)#

Compute the KDE for all variables in the dataset.

Parameters:
dimstr or sequence of str, optional

Dimension(s) over which to compute the KDE.

**kwargsdict, optional

Additional keyword arguments passed to the underlying KDE implementations. Supported arguments include bw, adaptive, circular, and grid_len. See the array-level kde methods for full details on these parameters.

Returns:
xarray.Dataset

A dataset containing the KDE grids and pdf values for each variable.