-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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 does not recognize 'h' and 'm' units #7611
Comments
these are not valid numpy units (eg have to use H and M) |
It's the same issue for 'H' and 'M... I picked 'h' and 'm' from to_timedelta's docstring:
|
actually this is completely tested |
Sorry - forgot to tell: numpy 1.8.1 |
Great, @jreback, thanks a lot! |
@vfilimonov thanks for reporting! was a bit buggy |
@jreback Is there still a good reason for not handling |
fixed that - it was buggy before |
@jreback Can we re-open this issue then? I'd like to submit a patch... |
can u post what is not working? |
While we're at it, it would also be nice to include support all relevant long names (e.g., "hour", "min", "minute" etc). It is weird that only "day" and "days" work. |
oh you are taking about the actual parser ok (this issue covers things like pls create a new issue for updates parsing. of strings then prob should include some vbench / maybe cythonize at some point it's a pretty limited regular format so shouldn't be that hard to make fast |
'h' and 'm' units are not correctly recognized in to_timedelta:
results in
version: 0.14.0
Most likely related to Issue #6423
The text was updated successfully, but these errors were encountered: