@@ -17,6 +17,8 @@ class BooleanList:
17
17
def as_int32 (self ) -> IntegerList32 : ...
18
18
def as_int64 (self ) -> IntegerList64 : ...
19
19
def as_str (self ) -> StringList : ...
20
+ @staticmethod
21
+ def choices (obj : Sequence [bool ], size : int ) -> BooleanList : ...
20
22
def copy (self ) -> BooleanList : ...
21
23
def count_na (self ) -> int : ...
22
24
def counter (self ) -> Dict [Optional [bool ], int ]: ...
@@ -60,6 +62,8 @@ class FloatList32:
60
62
def as_int32 (self ) -> IntegerList32 : ...
61
63
def as_int64 (self ) -> IntegerList64 : ...
62
64
def as_str (self ) -> StringList : ...
65
+ @staticmethod
66
+ def choices (obj : Sequence [float ], size : int ) -> FloatList32 : ...
63
67
def copy (self ) -> FloatList32 : ...
64
68
def count_na (self ) -> int : ...
65
69
@staticmethod
@@ -119,6 +123,8 @@ class FloatList64:
119
123
def as_int32 (self ) -> IntegerList32 : ...
120
124
def as_int64 (self ) -> IntegerList64 : ...
121
125
def as_str (self ) -> StringList : ...
126
+ @staticmethod
127
+ def choices (obj : Sequence [float ], size : int ) -> FloatList64 : ...
122
128
def copy (self ) -> FloatList64 : ...
123
129
def count_na (self ) -> int : ...
124
130
@staticmethod
@@ -178,6 +184,8 @@ class IntegerList32:
178
184
def as_float64 (self ) -> FloatList64 : ...
179
185
def as_int64 (self ) -> IntegerList64 : ...
180
186
def as_str (self ) -> StringList : ...
187
+ @staticmethod
188
+ def choices (obj : Sequence [int ], size : int ) -> IntegerList32 : ...
181
189
def copy (self ) -> IntegerList32 : ...
182
190
def count_na (self ) -> int : ...
183
191
def counter (self ) -> Dict [Optional [int ], int ]: ...
@@ -236,6 +244,8 @@ class IntegerList64:
236
244
def as_float64 (self ) -> FloatList64 : ...
237
245
def as_int32 (self ) -> IntegerList32 : ...
238
246
def as_str (self ) -> StringList : ...
247
+ @staticmethod
248
+ def choices (obj : Sequence [int ], size : int ) -> IntegerList64 : ...
239
249
def copy (self ) -> IntegerList64 : ...
240
250
def count_na (self ) -> int : ...
241
251
def counter (self ) -> Dict [Optional [int ], int ]: ...
@@ -290,6 +300,8 @@ class StringList:
290
300
def as_float64 (self ) -> FloatList64 : ...
291
301
def as_int32 (self ) -> IntegerList32 : ...
292
302
def as_int64 (self ) -> IntegerList64 : ...
303
+ @staticmethod
304
+ def choices (obj : Sequence [str ], size : int ) -> StringList : ...
293
305
def contains (self , elem : str ) -> BooleanList : ...
294
306
def copy (self ) -> StringList : ...
295
307
def count_na (self ) -> int : ...
0 commit comments