polars.Series.arr.contains#

Series.arr.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:
Boolean mask