bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _stats_py / _validate_distribution
function
scipy.stats._stats_py:_validate_distribution
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_stats_py.py:10235
Signature
def _validate_distribution(values, weights)Summary
Validate the values and weights from a distribution input of cdf_distance and return them as ndarray objects.
Parameters
values: array_likeValues observed in the (empirical) distribution.
weights: array_likeWeight for each value.
Returns
values: ndarrayValues as ndarray.
weights: ndarrayWeights as ndarray.
Aliases
scipy.stats._stats_py._validate_distribution