Created
April 22, 2023 09:15
-
-
Save konverner/d4307b6af849e8e45c51446a11dd15aa to your computer and use it in GitHub Desktop.
show number of NaNs in percents
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
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