WHOIGit / ifcbdb

IFCB dashboard
MIT License
8 stars 9 forks source link

Change pandas.to_timedelta y units to d (y is ambiguous) #377

Closed srstsavage closed 1 year ago

srstsavage commented 1 year ago

In pandas 2.x 'M', 'Y', and 'y' units are no longer allowed because they are ambiguous. Change to days with a note.

https://pandas.pydata.org/docs/reference/api/pandas.to_timedelta.html

joefutrelle commented 1 year ago

Good catch, thanks

joefutrelle commented 1 year ago

superseded by #380