Skip to content

Commit

Permalink
Update race.py
Browse files Browse the repository at this point in the history
Remove print statements
  • Loading branch information
gabriellelamarrlemee committed Jan 9, 2022
1 parent 7922e3f commit 78ced49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions census_data_downloader/tables/race.py
Expand Up @@ -28,7 +28,6 @@ class RaceDownloader(BaseTableConfig):
def process(self, df):
# Our custom race groups
def calculate_asians_moe(row):
pprint(row)
if row['asian_alone_moe'] in list(MOE_MAP.values()):
value = sum([row['asian_alone'], row['native_hawaiian_and_pacific_islander']])
moe = None
Expand All @@ -46,7 +45,6 @@ def calculate_asians_moe(row):
)

def calculate_other_moe(row):
pprint(row)
if row['american_indian_and_alaska_native_moe'] in list(MOE_MAP.values()):
value = sum([row['american_indian_and_alaska_native'], row['other_alone'], row['two_or_more_races']])
moe = None
Expand Down

0 comments on commit 78ced49

Please sign in to comment.