to_timedelta should parse strings like '1h' and '1 hour' · Issue #8190 · pandas-dev/pandas (original) (raw)

Right now the only long name is supports is "days" and it doesn't even abbreviations for "m" or "h" for minute or hour.

All the logic to do the conversions already exists, it just needs better parsing.

Related: #7611