polars.Series.list.contains#

Series.list.contains(item: float | str | bool | int | date | datetime) Series[source]#

Check if sublists contain the given item.

Parameters:
item

Item that will be checked for membership

Returns:
Series

Series of data type Boolean.