Will this error in Pandas 3 #829
Replies: 5 comments
-
|
Yeah. Precision is also a problem with Pandas 2. I don't think we mentioned that precision has to be nanosecond for Pandas 2. I tried running the tests with cl.options.set_option("ULT_VAL", "2050-12-31 23:59:59.9") on Pandas 2, and they failed. That opens the question as to what to do about it. Should we:
The first is more user friendly, but harder to program. The second is easier to program but it puts the burden on the user to do the correct math, which might be okay for annual but would be annoying if they wanted a different grain. |
Beta Was this translation helpful? Give feedback.
-
|
Attaching the failed tests for reference:
|
Beta Was this translation helpful? Give feedback.
-
|
I think it has to be set to something at month end. I tried various dates like: '2050-05-31 23:04:59.999999999' '2050-05-12 23:04:59.999999999' Which led to similar failures, but when set to '2050-05-31 23:59:59.999999999', the tests were ok. |
Beta Was this translation helpful? Give feedback.
-
|
we can be practical about it and only allow |
Beta Was this translation helpful? Give feedback.
-
|
Sounds good. Convert to issue? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
@genedan will explicitly setting the ult_val using nanosecond, like this section of the doc, cause any problems in pandas 3?
Beta Was this translation helpful? Give feedback.
All reactions