xarray.DataArray.cf.isin#
- DataArray.cf.isin(test_elements)#
Test each value in the array for whether it is in test_elements.
- Parameters:
- test_elementsarray_like, 1D
The values against which to test each value of element.
- Returns:
- isinDataArray
Has the same type and shape as this object, but with a bool dtype.