From bb649e52500ae5f3287f8247dc2fbe4eb20f2d9b Mon Sep 17 00:00:00 2001 From: mroberge Date: Fri, 4 Jun 2021 18:16:30 -0400 Subject: [PATCH] Add comment for Issue #54 This is a potential solution for recent requests. --- hydrofunctions/hydrofunctions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hydrofunctions/hydrofunctions.py b/hydrofunctions/hydrofunctions.py index 6e243c9..29e45bb 100644 --- a/hydrofunctions/hydrofunctions.py +++ b/hydrofunctions/hydrofunctions.py @@ -610,6 +610,9 @@ def extract_nwis_df(nwis_dict, interpolate=True): else: # If datasets only contain most recent data, then # don't set an index or a freq. Just concat all of the datasets. + # Alternatively, to solve issue #54 (Requests for only the most recent + # data should be parsed differently) We could combine the different dataframes + # in collection using a different procedure. cleanDF = pd.concat(collection, axis=1) cleanDF.index.name = "datetimeUTC"