Skip to content

Commit a7994c8

Browse files
raise exceptions from map_locations
1 parent 318fe86 commit a7994c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/_libs/hashtable_class_helper.pxi.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,7 @@ cdef class PyObjectHashTable(HashTable):
14091409
hash(val)
14101410

14111411
k = kh_put_pymap(self.table, <PyObject*>val, &ret)
1412+
raise_if_errors()
14121413
self.table.vals[k] = i
14131414

14141415
def lookup(self, ndarray[object] values, object mask = None) -> ndarray:

0 commit comments

Comments
 (0)