File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -906,11 +906,11 @@ cpdef object get_value_box(ndarray arr, object loc):
906
906
907
907
# Add the min and max fields at the class level
908
908
cdef int64_t _NS_UPPER_BOUND = INT64_MAX
909
- # smallest value we could actually represent is
909
+ # the smallest value we could actually represent is
910
910
# INT64_MIN + 1 == -9223372036854775807
911
911
# but to allow overflow free conversion with a microsecond resolution
912
- # use the smallest value with a 0 nanosecond unit
913
- cdef int64_t _NS_LOWER_BOUND = - 9223285636854775000L L
912
+ # use the smallest value with a 0 nanosecond unit (0s in last 3 digits)
913
+ cdef int64_t _NS_LOWER_BOUND = - 9223372036854775000
914
914
915
915
cdef pandas_datetimestruct _NS_MIN_DTS, _NS_MAX_DTS
916
916
pandas_datetime_to_datetimestruct(_NS_LOWER_BOUND, PANDAS_FR_ns, & _NS_MIN_DTS)
You can’t perform that action at this time.
0 commit comments