@@ -105,26 +105,28 @@ def group_last(
105
105
values : np .ndarray , # ndarray[rank_t, ndim=2]
106
106
labels : np .ndarray , # const int64_t[:]
107
107
mask : npt .NDArray [np .bool_ ] | None ,
108
- result_mask : npt .NDArray [np .bool_ ] | None ,
108
+ result_mask : npt .NDArray [np .bool_ ] | None = ... ,
109
109
min_count : int = ..., # Py_ssize_t
110
+ is_datetimelike : bool = ...,
110
111
) -> None : ...
111
112
def group_nth (
112
113
out : np .ndarray , # rank_t[:, ::1]
113
114
counts : np .ndarray , # int64_t[::1]
114
115
values : np .ndarray , # ndarray[rank_t, ndim=2]
115
116
labels : np .ndarray , # const int64_t[:]
116
117
mask : npt .NDArray [np .bool_ ] | None ,
117
- result_mask : npt .NDArray [np .bool_ ] | None ,
118
+ result_mask : npt .NDArray [np .bool_ ] | None = ... ,
118
119
min_count : int = ..., # int64_t
119
120
rank : int = ..., # int64_t
121
+ is_datetimelike : bool = ...,
120
122
) -> None : ...
121
123
def group_rank (
122
124
out : np .ndarray , # float64_t[:, ::1]
123
125
values : np .ndarray , # ndarray[rank_t, ndim=2]
124
126
labels : np .ndarray , # const int64_t[:]
125
127
ngroups : int ,
126
128
is_datetimelike : bool ,
127
- ties_method : Literal ["aveage " , "min" , "max" , "first" , "dense" ] = ...,
129
+ ties_method : Literal ["average " , "min" , "max" , "first" , "dense" ] = ...,
128
130
ascending : bool = ...,
129
131
pct : bool = ...,
130
132
na_option : Literal ["keep" , "top" , "bottom" ] = ...,
@@ -136,6 +138,7 @@ def group_max(
136
138
values : np .ndarray , # ndarray[groupby_t, ndim=2]
137
139
labels : np .ndarray , # const int64_t[:]
138
140
min_count : int = ...,
141
+ is_datetimelike : bool = ...,
139
142
mask : np .ndarray | None = ...,
140
143
result_mask : np .ndarray | None = ...,
141
144
) -> None : ...
@@ -145,6 +148,7 @@ def group_min(
145
148
values : np .ndarray , # ndarray[groupby_t, ndim=2]
146
149
labels : np .ndarray , # const int64_t[:]
147
150
min_count : int = ...,
151
+ is_datetimelike : bool = ...,
148
152
mask : np .ndarray | None = ...,
149
153
result_mask : np .ndarray | None = ...,
150
154
) -> None : ...
@@ -154,11 +158,17 @@ def group_cummin(
154
158
labels : np .ndarray , # const int64_t[:]
155
159
ngroups : int ,
156
160
is_datetimelike : bool ,
161
+ mask : np .ndarray | None = ...,
162
+ result_mask : np .ndarray | None = ...,
163
+ skipna : bool = ...,
157
164
) -> None : ...
158
165
def group_cummax (
159
166
out : np .ndarray , # groupby_t[:, ::1]
160
167
values : np .ndarray , # ndarray[groupby_t, ndim=2]
161
168
labels : np .ndarray , # const int64_t[:]
162
169
ngroups : int ,
163
170
is_datetimelike : bool ,
171
+ mask : np .ndarray | None = ...,
172
+ result_mask : np .ndarray | None = ...,
173
+ skipna : bool = ...,
164
174
) -> None : ...
0 commit comments