Skip to content

Commit 05e8681

Browse files
authored
API: groupby (#95)
1 parent 9673b35 commit 05e8681

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,5 @@ def __divmod__(self, other: DataFrame | "Scalar") -> tuple["DataFrame", "DataFra
359359
Returns
360360
-------
361361
DataFrame
362-
DataFrame
363362
"""
364363
...
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
from typing import TYPE_CHECKING
2+
3+
if TYPE_CHECKING:
4+
from .dataframe_object import DataFrame
5+
6+
7+
class GroupBy:
8+
def any(self, skipna: bool = True) -> DataFrame:
9+
...
10+
11+
def all(self, skipna: bool = True) -> DataFrame:
12+
...
13+
14+
def min(self, skipna: bool = True) -> DataFrame:
15+
...
16+
17+
def max(self, skipna: bool = True) -> DataFrame:
18+
...
19+
20+
def sum(self, skipna: bool = True) -> DataFrame:
21+
...
22+
23+
def prod(self, skipna: bool = True) -> DataFrame:
24+
...
25+
26+
def median(self, skipna: bool = True) -> DataFrame:
27+
...
28+
29+
def mean(self, skipna: bool = True) -> DataFrame:
30+
...
31+
32+
def std(self, skipna: bool = True) -> DataFrame:
33+
...
34+
35+
def var(self, skipna: bool = True) -> DataFrame:
36+
...

0 commit comments

Comments
 (0)