Skip to content

Commit

Permalink
Update get_uscensus_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey authored Dec 24, 2023
1 parent 3a3b76c commit 8373eb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dpd/uscensus/get_uscensus_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def get_uscensus_data(year, state, data=["NAME"], with_geometry=False, timeout=6
)
request = requests.get(url, timeout=timeout)
dataframe = pandas.DataFrame(
request.json()[1:], columns=request.json()[0], dtype="int"
)
request.json()[1:], columns=request.json()[0])
if with_geometry:
geometry = geopandas.read_file(
"https://www2.census.gov/geo/tiger/TIGER"
Expand Down

0 comments on commit 8373eb6

Please sign in to comment.