pandas.Series.isin
pandas 3.1.1 · Series and accessors · method
Test membership and return a boolean result for each value.
Call syntax
Series.isin(values)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
values |
Required Positional or keyword |
set or list-like Supply values to transform, match, aggregate, or use as data. |
Returns
Series