How to check whether two pandas dataframe is equal?Jimmy (xiaoke) Shen·FollowFeb 8, 2023--ListenSharePretty straightforwarddf1.equals(df2)If they equal, then output is Trueelse is FalseReference[1]https://www.w3resource.com/pandas/dataframe/dataframe-equals.php#:~:text=DataFrame%20%2D%20equals()%20function,same%20location%20are%20considered%20equal.