Skip to content

Commit 6e0efdd

Browse files
committed
troubleshoot 32bit linux build
1 parent 365733e commit 6e0efdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/_libs/groupby.pyx

+6
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,12 @@ def group_nth(
11761176

11771177
if uses_mask:
11781178
isna_entry = mask[i, j]
1179+
if isna_entry:
1180+
# set out[i, j] to 0 to be deterministic, as
1181+
# it was initialized with np.empty. Also ensures
1182+
# we can downcast out if appropriate.
1183+
out[i, j] = 0
1184+
11791185
else:
11801186
isna_entry = _treat_as_na(val, True)
11811187
# TODO: Sure we always want is_datetimelike=True?

0 commit comments

Comments
 (0)