Skip to content

Instantly share code, notes, and snippets.

@thepycoach
Created March 5, 2021 23:25
Show Gist options
  • Select an option

  • Save thepycoach/f71faefa81889ebc9c97c6c800048693 to your computer and use it in GitHub Desktop.

Select an option

Save thepycoach/f71faefa81889ebc9c97c6c800048693 to your computer and use it in GitHub Desktop.
# % of rows missing in each column
for column in df_netflix_2019.columns:
percentage = df_netflix_2019[column].isnull().mean()
print(f'{column}: {round(percentage*100, 2)}%')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment