Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
167 B
29
Indexable
Never
def compare_df(left, right):
    return (set(left.columns) == set(right.columns)) & \
    (left.count() == right.count() == left.unionByName(right).distinct().count())
Leave a Comment