bundles / numpy 2.4.4 / numpy / ma / core / _deprecate_argsort_axis
function
numpy.ma.core:_deprecate_argsort_axis
source: /numpy/ma/core.py :92
Signature
def _deprecate_argsort_axis ( arr ) Summary
Adjust the axis passed to argsort, warning if necessary
Parameters
arrThe array which argsort was called on
np.ma.argsort has a long-term bug where the default of the axis argumentis wrong (gh-8701), which now must be kept for backwards compatibility.Thankfully, this only makes a difference when arrays are 2- or more-dimensional, so we only need a warning then.
Aliases
-
numpy.ma.core._deprecate_argsort_axis