Skip to content

Commit 1901f8b

Browse files
committed
fixed- merging dataframes
1 parent 7f32569 commit 1901f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

regcensus/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def get_values(series, jurisdiction, year, documentType=1, summary=True,
231231
page += 1
232232
output = json_normalize(json.loads(requests.get(
233233
url_call + f'&page={page}').json()))
234-
full_output = full_output.append(output)
234+
full_output = pd.concat([full_output, output])
235235
output = full_output
236236

237237
# If download path is given, write csv instead of returning dataframe

0 commit comments

Comments
 (0)