Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wibowotangara/64e30b2dc1664b6dd10020cf1c6456fb to your computer and use it in GitHub Desktop.
Save wibowotangara/64e30b2dc1664b6dd10020cf1c6456fb to your computer and use it in GitHub Desktop.
threshold = len(df) * 0.8
df = df.dropna(axis=1, thresh=threshold)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment