Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 5623009

Browse files
rename variables
1 parent 6a0fe57 commit 5623009

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bigframes/core/groupby/dataframe_group_by.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ def first(self, numeric_only: bool = False, min_count: int = -1) -> df.DataFrame
269269
grouping_keys=tuple(self._by_col_ids),
270270
min_periods=min_count if min_count >= 0 else 0,
271271
)
272-
to_use, index = self._aggregated_columns(numeric_only)
272+
target_cols, index = self._aggregated_columns(numeric_only)
273273
block, firsts_ids = self._block.multi_apply_window_op(
274-
to_use,
274+
target_cols,
275275
agg_ops.FirstNonNullOp(),
276276
window_spec=window_spec,
277277
)
@@ -291,9 +291,9 @@ def last(self, numeric_only: bool = False, min_count: int = -1) -> df.DataFrame:
291291
grouping_keys=tuple(self._by_col_ids),
292292
min_periods=min_count if min_count >= 0 else 0,
293293
)
294-
to_use, index = self._aggregated_columns(numeric_only)
294+
target_cols, index = self._aggregated_columns(numeric_only)
295295
block, lasts_ids = self._block.multi_apply_window_op(
296-
to_use,
296+
target_cols,
297297
agg_ops.LastNonNullOp(),
298298
window_spec=window_spec,
299299
)

0 commit comments

Comments
 (0)