I use Pandas to learn some datasets. I have this framework:

I want to exclude any string that matters the city. So I tried:
new_df = all_df[(all_df["City"] == "None") ]
new_df
But then I got an empty framework:

It works whenever I use any value other than None. Any idea how to filter this framework?
source
share