NOAA-OWP / hydrotools

Suite of tools for retrieving USGS NWIS observations and evaluating National Water Model (NWM) data.
Other
53 stars 12 forks source link

Update `events` for `pandas` v3.0 compatibility #247

Closed jarq6c closed 4 months ago

jarq6c commented 4 months ago

Short and sweet update.

  1. pandas v3.0 time manipulation methods will only use h (lower case) to indicate hour. This update changes all references to hour from H to h.
  2. Fill methods like (fillna, ffill, bfill) will require you to explicitly indicate that you want them to infer datatypes or must be preceded by an explicit type declaration using astype. I added an astype where needed.

Closes #246

Checklist

jarq6c commented 4 months ago

Thanks @aaraney !