From ca1580fde6e47e16e62925991389e584b6d1ce3a Mon Sep 17 00:00:00 2001 From: Eva Maxfield Brown Date: Mon, 4 Mar 2024 11:12:43 -0800 Subject: [PATCH] Lint and format --- award_pynder/sources/nih.py | 2 +- award_pynder/sources/nsf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/award_pynder/sources/nih.py b/award_pynder/sources/nih.py index 3a20945..c7d1bbb 100644 --- a/award_pynder/sources/nih.py +++ b/award_pynder/sources/nih.py @@ -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) diff --git a/award_pynder/sources/nsf.py b/award_pynder/sources/nsf.py index f2bafb4..ec0bc2e 100644 --- a/award_pynder/sources/nsf.py +++ b/award_pynder/sources/nsf.py @@ -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")