Created
January 21, 2020 15:45
-
-
Save liannewriting/07af65d70bd75408d5c9d029f5701019 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
# create an ismissing indicator variable for life_sq. | |
df['life_sq_ismissing'] = df['life_sq'].isnull() | |
df['life_sq_ismissing'].value_counts(dropna=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment