Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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