Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@konverner
Created April 22, 2023 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konverner/d4307b6af849e8e45c51446a11dd15aa to your computer and use it in GitHub Desktop.
Save konverner/d4307b6af849e8e45c51446a11dd15aa to your computer and use it in GitHub Desktop.
show number of NaNs in percents
pd.options.display.float_format = '{:,.1f}%'.format
print((df.isna().sum()/df.count()).sort_values())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment