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

Popular posts from this blog

Type of Common Charts used in visualization

बैगन

Building a Better Future: Pathways Over Chariots