DataFrame.equals

bool equals(DataFrame other, bool nullEqual = true)

Logical equality: same schema and logically equal columns, independent of per-column chunking (delegates to Series.equals).

Parameters

otherthe frame to compare with
nullEqualwhether two null slots compare equal

Returns

true when the frames are logically equal.