scipy.stats.mstats.

msign#

scipy.stats.mstats.msign(x)[source]#

Returns the sign of x, or 0 if x is masked.

Deprecated since version 2.0.0: scipy.stats.mstats.msign is deprecated as of SciPy 2.0.0 and will be removed, along with the scipy.stats.mstats namespace, in SciPy 2.4.0. SciPy offers no replacement for this function.

Notes

Array API Standard Support

msign is not in-scope for support of Python Array API Standard compatible backends other than NumPy.

See Support for the array API standard for more information.