Reputation: 12945
I am trying to compare two different data frames of pandas. Both the data set are identical but the data frame equal gives false. (df3 == df4) . Why df2 == df3 gives false for each row ?
Upvotes: 0
Views: 126
Reputation: 2474
use the equals method
df3.equals(df4)
You can also compare two df
with compare
Here is an issue talking about None is not equal to None
Upvotes: 1