You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _axis_nan_policy / _add_reduced_axes

function

scipy.stats._axis_nan_policy:_add_reduced_axes

source: /scipy/stats/_axis_nan_policy.py:278

Signature

def _add_reduced_axes(res, reduced_axes, keepdims, xp = <module 'numpy' from '/opt/hostedtoolcache/Python/3.14.5/x64/lib/python3.14/site-packages/numpy/__init__.py'>)

Summary

Add reduced axes back to all the arrays in the result object if keepdims = True.

Aliases

  • scipy.stats._axis_nan_policy._add_reduced_axes