polars.Series.list.difference#

Series.list.difference(other: Series) Series[source]#

Compute the SET DIFFERENCE between the elements in this list and the elements of other.

Deprecated since version 0.18.10: This method has been renamed to Series.list.set_difference.