I'm using Pandas to explore some datasets. I have this dataframe:
I want to exclude any row that has a city value. So I've tried:
new_df = all_df[(all_df["City"] == "None") ] new_df
But then I got an empty dataframe:
It works whenever I use any value other than None. Any idea of how to filter this dataframe?