Skip to content

Commit 1bd8dc9

Browse files
committed
Changed flag_val type to match type of result array
1 parent 3cd500f commit 1bd8dc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/_libs/groupby.pyx

+2-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ def group_any_all(ndarray[uint8_t] out,
339339
"""
340340
cdef:
341341
Py_ssize_t i, N=len(labels)
342-
int64_t lab, flag_val
342+
int64_t lab
343+
uint8_t flag_val
343344

344345
if val_test == 'all':
345346
# Because the 'all' value of an empty iterable in Python is True we can

0 commit comments

Comments
 (0)