We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da08bb8 commit 8e3d4d0Copy full SHA for 8e3d4d0
pandas/_libs/index.pyx
@@ -194,7 +194,7 @@ cdef class IndexEngine:
194
if count > 1:
195
return indexer
196
if count == 1:
197
- return found[0]
+ return int(found[0])
198
199
raise KeyError(val)
200
pandas/_libs/index_class_helper.pxi.in
@@ -74,7 +74,7 @@ cdef class {{name}}Engine(IndexEngine):
74
75
76
77
78
79
80
0 commit comments