Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# if it's a larger dataset and the visualization takes too long can do this.
# % of missing.
for col in df.columns:
pct_missing = np.mean(df[col].isnull())
print('{} - {}%'.format(col, round(pct_missing*100)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment