pandas.api.extensions.ExtensionArray.isin

ExtensionArray.isin(values)[source]

Pointwise comparison for set containment in the given values.

Roughly equivalent to np.array([x in values for x in self])

Parameters:
valuesSequence
Returns:
np.ndarray[bool]