Last active
January 21, 2020 15:48
-
-
Save liannewriting/6a850fd47c16fc07375babd83a124f8f to your computer and use it in GitHub Desktop.
data_cleaning_202001
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
# drop rows with a lot of missing values. | |
ind_missing = df[df['num_missing'] > 35].index | |
df_less_missing_rows = df.drop(ind_missing, axis=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment