Last active
March 16, 2018 02:59
-
-
Save okdolly-001/e93512fcee3deaf24008cd42078c729b to your computer and use it in GitHub Desktop.
Deleting columns with all of the same value #pandas
This file contains hidden or 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
df.drop(df.std()[(df.std() == 0)].index, axis=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment