@@ -356,7 +356,7 @@ cdef class Int64Engine(IndexEngine):
356
356
return _hash.Int64HashTable(n)
357
357
358
358
def _call_monotonic (self , values ):
359
- return algos.is_monotonic_int64(values)
359
+ return algos.is_monotonic_int64(values, timelike = False )
360
360
361
361
def get_pad_indexer (self , other , limit = None ):
362
362
return algos.pad_int64(self ._get_index_values(), other,
@@ -446,7 +446,7 @@ cdef class Float64Engine(IndexEngine):
446
446
return result
447
447
448
448
def _call_monotonic (self , values ):
449
- return algos.is_monotonic_float64(values)
449
+ return algos.is_monotonic_float64(values, timelike = False )
450
450
451
451
def get_pad_indexer (self , other , limit = None ):
452
452
return algos.pad_float64(self ._get_index_values(), other,
@@ -500,7 +500,7 @@ cdef class ObjectEngine(IndexEngine):
500
500
return _hash.PyObjectHashTable(n)
501
501
502
502
def _call_monotonic (self , values ):
503
- return algos.is_monotonic_object(values)
503
+ return algos.is_monotonic_object(values, timelike = False )
504
504
505
505
def get_pad_indexer (self , other , limit = None ):
506
506
return algos.pad_object(self ._get_index_values(), other,
@@ -532,7 +532,7 @@ cdef class DatetimeEngine(Int64Engine):
532
532
return self .vgetter().view(' i8' )
533
533
534
534
def _call_monotonic (self , values ):
535
- return algos.is_monotonic_int64(values)
535
+ return algos.is_monotonic_int64(values, timelike = True )
536
536
537
537
cpdef get_loc(self , object val):
538
538
if is_definitely_invalid_key(val):
0 commit comments