Skip to content

Commit

Permalink
Update gd_merge.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luna983 committed Feb 6, 2021
1 parent 4325bd4 commit b9b868c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/gd_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@
df_draw = df_draw.astype(int)
df = pd.merge(df, df_draw, how='left', on=['grid_lon', 'grid_lat'])

# check treat_eligible distribution
# print('treat_eligible: \n', df['treat_eligible'].value_counts())
# check variable distribution
print('treat_eligible: \n', df['treat_eligible'].value_counts())
print('eligible: \n', df['eligible'].value_counts())
print('n_household: \n', df['n_household'].value_counts())
# print metadata
print('>>> df.shape')
print(df.shape)
Expand Down

0 comments on commit b9b868c

Please sign in to comment.