Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to_timedelta should parse strings like '1h' and '1 hour' #8190

Closed
shoyer opened this issue Sep 5, 2014 · 1 comment · Fixed by #8184
Closed

to_timedelta should parse strings like '1h' and '1 hour' #8190

shoyer opened this issue Sep 5, 2014 · 1 comment · Fixed by #8184
Labels
Enhancement Timedelta Timedelta data type
Milestone

Comments

@shoyer
Copy link
Member

shoyer commented Sep 5, 2014

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

@jreback
Copy link
Contributor

jreback commented Sep 9, 2014

want to do a pr for this? (either before or after #8184 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants