Skip to content

Commit

Permalink
add data type to serialno
Browse files Browse the repository at this point in the history
  • Loading branch information
msoltadeo committed Aug 20, 2020
1 parent 3825fc9 commit 47aaa23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synthpop/census_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def _read_csv(self, loc, **kargs):
pums_df = pd.read_csv(loc, dtype={
"PUMA10": "object",
"PUMA00": "object",
"ST": "object"
"ST": "object",
"SERIALNO": 'str'
}, **kargs)
pums_df = pums_df.rename(columns={
'PUMA10': 'puma10',
Expand Down

0 comments on commit 47aaa23

Please sign in to comment.