Skip to content

Commit 0b49072

Browse files
committed
fixes
1 parent 49c3fa1 commit 0b49072

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pandas/hashtable.pyx

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: profile=True
2+
13
from cpython cimport PyObject, Py_INCREF, PyList_Check, PyTuple_Check
24

35
from khash cimport *

pandas/index.pyx

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: profile=False
2+
13
from numpy cimport ndarray
24

35
from numpy cimport (float64_t, int32_t, int64_t, uint8_t,
@@ -231,13 +233,14 @@ cdef class IndexEngine:
231233
cdef inline _do_monotonic_check(self):
232234
try:
233235
values = self._get_index_values()
234-
self.monotonic_inc, self.monotonic_dec, unique = \
236+
self.monotonic_inc, self.monotonic_dec, self.unique = \
235237
self._call_monotonic(values)
236238
except TypeError:
237239
self.monotonic_inc = 0
238240
self.monotonic_dec = 0
239241

240242
self.monotonic_check = 1
243+
self.unique_check = 1
241244

242245
cdef _get_index_values(self):
243246
return self.vgetter()

0 commit comments

Comments
 (0)