SauceCat/pydqc

Add parameters table1_name,table2_name in data_compare method.

anilkumarpanda opened this issue · 2 comments

Current implementation of data_compare assigns default values of 'table1' and 'table2' to the dataframes.

image

However, it would be good if the user can specify name of the dataframe, to be able to distinguish the dataframes better.

The signature can be as follows:
distribution_compare_pretty(_df1, _df2, _df1_name='table1',_df2_name='table2', col, figsize=None, date_flag=False)

I would be happy to make the changes, if you agree.