Skip to content

Commit

Permalink
Add comment for Issue #54
Browse files Browse the repository at this point in the history
This is a potential solution for recent requests.
  • Loading branch information
mroberge committed Jun 4, 2021
1 parent 81273aa commit bb649e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hydrofunctions/hydrofunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bb649e5

Please sign in to comment.