NYCPlanning / db-factfinder

data ETL for population fact finder (decennial + acs)
https://nycplanning.github.io/db-factfinder/factfinder/
MIT License
2 stars 3 forks source link

WIP - adding community_profiles acs calculation notebook #44

Closed SPTKL closed 3 years ago

SPTKL commented 3 years ago
mgraber commented 3 years ago
import reduce from functools

dfs = []
for i in variable_mapping:
    df.append(calculate(i))
dff = reduce(lambda  left,right: pd.merge(left,right, on=['census_geoid'],
                                            how='outer'), dfs)
mgraber commented 3 years ago

Full implementation here.

These will live in the community profiles repo, though -- see this PR