pd.to_timedelta unit ignored for string input #23716
Labels
Bug
Duplicate Report
Duplicate issue or pull request
Strings
String extension data type and string data
Timedelta
Timedelta data type
Problem description
Evidently, the
unit
parameter is ignored when the input is a string (yet strings that look like numbers are accepted as if they were actually numbers).Reproduced in Pandas 0.21.1 and 0.23.4.
The text was updated successfully, but these errors were encountered: