Created
May 25, 2021 10:08
-
-
Save ericgitonga/56e747bd32cbc8a927191cf9e8a19787 to your computer and use it in GitHub Desktop.
Code to change City name to Unknown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df.loc[df['State'].isnull(), 'City'] = 'Unknown' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment