macpie.pandas.diff_cols#

macpie.pandas.diff_cols(left: DataFrame, right: DataFrame, filter_labels_pair_kwargs={})#

Find the column differences between two DataFrames.

Parameters:
leftDataFrame
rightDataFrame
filter_labels_pair_kwargsdict, optional

Keyword arguments to pass to underlying macpie.pandas.filter_labels_pair() to pre-filter columns before comparison.

Returns:
Length-2 tuple

First element is the list of columns that exist only in left, and second element is the list of columns that exist only in right.