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

Commit 4fd0dab

Browse files
fix type annotations
1 parent cf10382 commit 4fd0dab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bigframes/core/groupby/dataframe_group_by.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def kurt(
264264
kurtosis = kurt
265265

266266
@validations.requires_ordering()
267-
def first(self, numeric_only: bool = False, min_count: int = -1) -> series.Series:
267+
def first(self, numeric_only: bool = False, min_count: int = -1) -> df.DataFrame:
268268
window_spec = window_specs.unbound(
269269
grouping_keys=tuple(self._by_col_ids),
270270
min_periods=min_count if min_count >= 0 else 0,
@@ -286,7 +286,7 @@ def first(self, numeric_only: bool = False, min_count: int = -1) -> series.Serie
286286
return df.DataFrame(block)
287287

288288
@validations.requires_ordering()
289-
def last(self, numeric_only: bool = False, min_count: int = -1) -> series.Series:
289+
def last(self, numeric_only: bool = False, min_count: int = -1) -> df.DataFrame:
290290
window_spec = window_specs.unbound(
291291
grouping_keys=tuple(self._by_col_ids),
292292
min_periods=min_count if min_count >= 0 else 0,

0 commit comments

Comments
 (0)