bundles / scipy latest / scipy / stats / _kde / gaussian_kde / marginal
function
scipy.stats._kde:gaussian_kde.marginal
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_kde.py:679
Signature
def marginal(self, dimensions)Summary
Return a marginal KDE distribution.
Parameters
dimensions: int or 1-d array_likeThe dimensions of the multivariate distribution corresponding with the marginal variables, that is, the indices of the dimensions that are being retained. The other dimensions are marginalized out.
Returns
marginal_kde: gaussian_kdeAn object representing the marginal distribution.
Notes
Aliases
scipy.stats.gaussian_kde.marginal