Skip to content

Commit 44a2283

Browse files
flexatoneCopilot
andauthored
Updated doc string
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2fe2264 commit 44a2283

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/methods.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,10 +1222,10 @@ static char *group_reduce_kwarg_names[] = {
12221222
NULL
12231223
};
12241224

1225-
// Single-pass grouped reduction. Given dense group `codes` in [0, size), a 1D
1225+
// Grouped reduction. Given dense group `codes` in [0, size), a 1D
12261226
// `values` array, and an `op` ('sum'/'prod'/'min'/'max'/'count'), return a length-
12271227
// `size` array of per-group results in code order. Accumulates directly by code in
1228-
// one O(n) pass (no sort, no reorder). 'count' returns int64 group sizes and ignores
1228+
// an O(n) pass after validating codes (no sort, no reorder). 'count' returns int64 group sizes and ignores
12291229
// the values dtype; other ops return the values dtype (float64 or int64). This is
12301230
// the vectorized replacement for a per-group Python reduction loop.
12311231
PyObject *

0 commit comments

Comments
 (0)