File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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):
906906
907907# Add the min and max fields at the class level
908908cdef int64_t _NS_UPPER_BOUND = INT64_MAX
909- # smallest value we could actually represent is
909+ # the smallest value we could actually represent is
910910# INT64_MIN + 1 == -9223372036854775807
911911# 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
914914
915915cdef pandas_datetimestruct _NS_MIN_DTS, _NS_MAX_DTS
916916pandas_datetime_to_datetimestruct(_NS_LOWER_BOUND, PANDAS_FR_ns, & _NS_MIN_DTS)
You can’t perform that action at this time.
0 commit comments