numpy.ma.isin#
- ma.isin(element, test_elements, assume_unique=False, invert=False)[source]#
Calculates element in test_elements, broadcasting over element only.
The output is always a masked array of the same shape as element. See
numpy.isin
for more details.See also
in1d
Flattened version of this function.
numpy.isin
Equivalent function for ndarrays.
Notes
New in version 1.13.0.