Mostly python and data analysis (small and big). Mixed with random rants and more mild mannered musings.
Wednesday, 19 September 2018
Surprise: Pandas and 584 years
Timestamp Limitations
Since pandas represents timestamps in nanosecond resolution, the time span that can be represented using a 64-bit integer is limited to approximately 584 years:
In [68]: pd.Timestamp.minOut[68]: Timestamp('1677-09-21 00:12:43.145225')In [69]: pd.Timestamp.maxOut[69]: Timestamp('2262-04-11 23:47:16.854775807')
No comments:
Post a Comment