polars.Series.series_equal#

Series.series_equal(
other: Series,
*,
null_equal: bool = True,
strict: bool = False,
) bool[source]#

Check whether the Series is equal to another Series.

Deprecated since version 0.19.16: This method has been renamed to equals().

Parameters:
other

Series to compare with.

null_equal

Consider null values as equal.

strict

Don’t allow different numerical dtypes, e.g. comparing pl.UInt32 with a pl.Int64 will return False.