-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
Precision support for Timestamp #12480
Comments
From what I recall,
Is it bar plots that cause you issues? We already nicely format line plots, and I want to rip out that code and pass it up to matplotlib. In the process I hope to fix barplot formatting as well. |
On Sat, Feb 27 2016, Tom Augspurger [email protected] wrote:
I read them about before and I see how they can be convenient, but It also doesn't map as nicely with numpy's datetime64[x] types, which
No, I didn't stumble in plotting issues directly. What I mean is that I Incidentally, when I work with experiments from microbiology, I always |
@wavexx you know |
On Sat, Feb 27 2016, Jeff Reback [email protected] wrote:
I really don't feel the need for timedeltas when working in I had a few uses of timedeltas before, but it generally involved |
duplicate of issues mentioned above. |
Timestamp stores the value in a
datetime64[ns]
internal representation. For most purposes this is fine, but I'd love if I could choose the internal precision, for example to usedatetime64[s]
instead.When I do timeseries manipulations that span more than a day, I generally do not need sub-second resolution and I could definitely use the extended range instead. But, more conveniently, this would also allow to pretty-print the result without a ton of trailing zeros without setting some arbitrary threshold.
Incidentally, this would remove the limit of ~500 years, but it's more of an ergonomic change than an actual need. For example, when I need to perform direct manipulations of the values in a DatetimeIndex, I often have to scale up to seconds if I want to perform meaningful fitting and avoid numerical instability. When plotting, it's an extra indirection I need to care about.
The text was updated successfully, but these errors were encountered: