I want to compare two dataframes (same number of rows and columns in both) using python and to get number of differences, what would be the best way for this?
def numberOfDifferencess(df1, df2):
if df1.equals(df2):
numberOfDifferences = 0
else:
?????