Open stefancoe opened 5 years ago
Job sectors have changed- need to make sure that code reflects this. For example, 18 & 19 are no longer governmental jobs.
@orca.column('buildings', 'number_of_households', cache=True, cache_scope='step') def number_of_households(buildings, households): return households.building_id.groupby(households.building_id).size().reindex(buildings.index).fillna(0).astype("int32")
@hanase for the example above, should I change to 12 & 13?
I think our data has the new sectors, so 12 & 13.
Job sectors have changed- need to make sure that code reflects this. For example, 18 & 19 are no longer governmental jobs.
@orca.column('buildings', 'number_of_households', cache=True, cache_scope='step') def number_of_households(buildings, households): return households.building_id.groupby(households.building_id).size().reindex(buildings.index).fillna(0).astype("int32")