Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
luna983 committed Feb 2, 2021
1 parent abc904c commit 4325bd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion maskrcnn/postprocess/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ def load_building(input_dir, grid, agg=True):
def load_survey(SVY_IN_DIR):
# load survey data
df_svy = pd.read_stata(SVY_IN_DIR)
# print('Observations in raw data: ', df_svy.shape[0])
print('Observations in raw data: ', df_svy.shape[0])
print('Eligible observations in raw data: ',
df_svy.loc[df_svy['h1_6_nonthatchedroof_BL'] < 0.5, :].shape[0])

# drop households without geo coords
df_svy = df_svy.dropna(
Expand Down

0 comments on commit 4325bd4

Please sign in to comment.