comparing two dataframes
# Assuming you have two DataFrames df1 and df2
comparison_result = gdf.compare(df_116)
# Filter the differing rows
differing_rows = comparison_result[comparison_result.ne(0).any(axis=1)]
# Print the differing rows
print(differing_rows)
Comments
Post a Comment