@@ -23,48 +23,37 @@ class GroupBy(Protocol):
23
23
24
24
"""
25
25
26
- def any (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
27
- ...
26
+ def any (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
28
27
29
- def all (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
30
- ...
28
+ def all (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
31
29
32
- def min (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
33
- ...
30
+ def min (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
34
31
35
- def max (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
36
- ...
32
+ def max (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
37
33
38
- def sum (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
39
- ...
34
+ def sum (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
40
35
41
- def prod (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
42
- ...
36
+ def prod (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
43
37
44
- def median (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
45
- ...
38
+ def median (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
46
39
47
- def mean (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame :
48
- ...
40
+ def mean (self , * , skip_nulls : bool | Scalar = True ) -> DataFrame : ...
49
41
50
42
def std (
51
43
self ,
52
44
* ,
53
45
correction : float | Scalar = 1 ,
54
46
skip_nulls : bool | Scalar = True ,
55
- ) -> DataFrame :
56
- ...
47
+ ) -> DataFrame : ...
57
48
58
49
def var (
59
50
self ,
60
51
* ,
61
52
correction : float | Scalar = 1 ,
62
53
skip_nulls : bool | Scalar = True ,
63
- ) -> DataFrame :
64
- ...
54
+ ) -> DataFrame : ...
65
55
66
- def size (self ) -> DataFrame :
67
- ...
56
+ def size (self ) -> DataFrame : ...
68
57
69
58
def aggregate (self , * aggregation : Aggregation ) -> DataFrame :
70
59
"""Aggregate columns according to given aggregation function.
@@ -93,36 +82,28 @@ def rename(self, name: str | Scalar) -> Aggregation:
93
82
...
94
83
95
84
@classmethod
96
- def any (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
97
- ...
85
+ def any (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
98
86
99
87
@classmethod
100
- def all (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
101
- ...
88
+ def all (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
102
89
103
90
@classmethod
104
- def min (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
105
- ...
91
+ def min (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
106
92
107
93
@classmethod
108
- def max (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
109
- ...
94
+ def max (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
110
95
111
96
@classmethod
112
- def sum (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
113
- ...
97
+ def sum (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
114
98
115
99
@classmethod
116
- def prod (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
117
- ...
100
+ def prod (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
118
101
119
102
@classmethod
120
- def median (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
121
- ...
103
+ def median (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
122
104
123
105
@classmethod
124
- def mean (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation :
125
- ...
106
+ def mean (cls , column : str , * , skip_nulls : bool | Scalar = True ) -> Aggregation : ...
126
107
127
108
@classmethod
128
109
def std (
@@ -131,8 +112,7 @@ def std(
131
112
* ,
132
113
correction : float | Scalar = 1 ,
133
114
skip_nulls : bool | Scalar = True ,
134
- ) -> Aggregation :
135
- ...
115
+ ) -> Aggregation : ...
136
116
137
117
@classmethod
138
118
def var (
@@ -141,9 +121,7 @@ def var(
141
121
* ,
142
122
correction : float | Scalar = 1 ,
143
123
skip_nulls : bool | Scalar = True ,
144
- ) -> Aggregation :
145
- ...
124
+ ) -> Aggregation : ...
146
125
147
126
@classmethod
148
- def size (cls ) -> Aggregation :
149
- ...
127
+ def size (cls ) -> Aggregation : ...
0 commit comments