Column.equals

bool equals(Series other, bool nullEqual = true)

Logical equality: same dtype, same length, and element-wise equal values, independent of chunking and offsets. Floats compare with IEEE `==` (sorting and grouping use a total order instead). With nullEqual (the default) two null slots compare equal; with nullEqual = false any null makes the Series unequal.

Parameters

otherthe Series to compare with
nullEqualwhether two null slots compare equal

Returns

true when the two columns are logically equal.