@@ -356,7 +356,7 @@ cdef class Int64Engine(IndexEngine):
356356 return _hash.Int64HashTable(n)
357357
358358 def _call_monotonic (self , values ):
359- return algos.is_monotonic_int64(values)
359+ return algos.is_monotonic_int64(values, timelike = False )
360360
361361 def get_pad_indexer (self , other , limit = None ):
362362 return algos.pad_int64(self ._get_index_values(), other,
@@ -446,7 +446,7 @@ cdef class Float64Engine(IndexEngine):
446446 return result
447447
448448 def _call_monotonic (self , values ):
449- return algos.is_monotonic_float64(values)
449+ return algos.is_monotonic_float64(values, timelike = False )
450450
451451 def get_pad_indexer (self , other , limit = None ):
452452 return algos.pad_float64(self ._get_index_values(), other,
@@ -500,7 +500,7 @@ cdef class ObjectEngine(IndexEngine):
500500 return _hash.PyObjectHashTable(n)
501501
502502 def _call_monotonic (self , values ):
503- return algos.is_monotonic_object(values)
503+ return algos.is_monotonic_object(values, timelike = False )
504504
505505 def get_pad_indexer (self , other , limit = None ):
506506 return algos.pad_object(self ._get_index_values(), other,
@@ -532,7 +532,7 @@ cdef class DatetimeEngine(Int64Engine):
532532 return self .vgetter().view(' i8' )
533533
534534 def _call_monotonic (self , values ):
535- return algos.is_monotonic_int64(values)
535+ return algos.is_monotonic_int64(values, timelike = True )
536536
537537 cpdef get_loc(self , object val):
538538 if is_definitely_invalid_key(val):
0 commit comments