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

bundles / numpy 2.4.3 / numpy / ma / core / _frommethod

function

numpy.ma.core:_frommethod

source: /numpy/ma/core.py:7037

Signature

def _frommethod(methodname: str, reversed: bool = False)

Summary

Define functions from existing MaskedArray methods.

Parameters

methodname : str

Name of the method to transform.

reversed : bool, optional

Whether to reverse the first two arguments of the method. Default is False.

Aliases

  • numpy.ma.core._frommethod