pandas.Series.isin
- Series.isin(values)
Whether elements in Series are contained in values.
Return a boolean Series showing whether each element in the Series matches an element in the passed sequence of values exactly.
- Parameters:
- values : set or list-like
The sequence of values to test. Passing in a single string will raise a
TypeError. Instead, turn a single string into a list of one element.
- Returns