You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pandas 2.0.3, this line returns a UserWarning:
UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version.
A strict version of it is now the default,
see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html.
You can safely remove this argument.
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out @bastien-k. Would you have any interest in submitting a fix? Seems like just removing that argument and setting the minimum pandas version to 2.0.3 would do it. (Though I'm a little hesitant to require newer pandas just for that; idk if pandas 2.0 would cause issues for any users.)
stackstac/stackstac/prepare.py
Line 383 in e30ecf2
With pandas 2.0.3, this line returns a UserWarning:
UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version. A strict version of it is now the default, see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html. You can safely remove this argument.
The text was updated successfully, but these errors were encountered: