You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
comparer = datacompy.Compare(
source_df,
target_df,
join_columns=fields_list, #You can also specify a list of columns
abs_tol=0.01, #Optional, defaults to 0
rel_tol=0, #Optional, defaults to 0
df1_name='SOURCE', #Optional, defaults to 'df1'
df2_name='TARGET' #Optional, defaults to 'df2'
)
I try compare two pandas dataframes
head of my DFs:
df1:
df2:
dtypes of my DFs:
df1
df2:
And I has Error: df1 must have all columns from join_columns
What is it incorrect?
The text was updated successfully, but these errors were encountered: