Created
November 9, 2020 03:27
-
-
Save merishnaSuwal/8694322d7e53d6668fefeb04e60c7703 to your computer and use it in GitHub Desktop.
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
# Replacing ? into NaN values | |
dataset.replace(to_replace='?', inplace=True, value=np.NaN) | |
# Count the number of null values | |
dataset.isnull().sum() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment