Skip to content

Commit

Permalink
Lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
evamaxfield committed Mar 4, 2024
1 parent 7d6d81b commit ca1580f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion award_pynder/sources/nih.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,5 @@ def get_data(
# Concatenate the chunks
if len(chunks) == 0:
return pd.DataFrame(columns=ALL_DATASET_FIELDS)

return pd.concat(chunks, ignore_index=True).reset_index(drop=True)
2 changes: 1 addition & 1 deletion award_pynder/sources/nsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def get_data(
# Concatenate the chunks
if len(chunks) == 0:
return pd.DataFrame(columns=ALL_DATASET_FIELDS)

return (
pd.concat(chunks, ignore_index=True)
.drop_duplicates(subset="id")
Expand Down

0 comments on commit ca1580f

Please sign in to comment.