@@ -30,10 +30,10 @@ i8max: int
3030u8max : int
3131
3232def item_from_zerodim (val : object ) -> object : ...
33- def infer_dtype (value : object , skipna : bool = True ) -> str : ...
33+ def infer_dtype (value : object , skipna : bool = ... ) -> str : ...
3434def is_iterator (obj : object ) -> bool : ...
3535def is_scalar (val : object ) -> bool : ...
36- def is_list_like (obj : object , allow_sets : bool = True ) -> bool : ...
36+ def is_list_like (obj : object , allow_sets : bool = ... ) -> bool : ...
3737def is_period (val : object ) -> bool : ...
3838def is_interval (val : object ) -> bool : ...
3939def is_decimal (val : object ) -> bool : ...
@@ -45,22 +45,22 @@ def is_interval_array(values: np.ndarray) -> bool: ...
4545def is_datetime64_array (values : np .ndarray ) -> bool : ...
4646def is_timedelta_or_timedelta64_array (values : np .ndarray ) -> bool : ...
4747def is_datetime_with_singletz_array (values : np .ndarray ) -> bool : ...
48- def is_time_array (values : np .ndarray , skipna : bool = False ): ...
49- def is_date_array (values : np .ndarray , skipna : bool = False ): ...
50- def is_datetime_array (values : np .ndarray , skipna : bool = False ): ...
51- def is_string_array (values : np .ndarray , skipna : bool = False ): ...
52- def is_float_array (values : np .ndarray , skipna : bool = False ): ...
53- def is_integer_array (values : np .ndarray , skipna : bool = False ): ...
54- def is_bool_array (values : np .ndarray , skipna : bool = False ): ...
55- def fast_multiget (mapping : dict , keys : np .ndarray , default = np . nan ) -> np .ndarray : ...
56- def fast_unique_multiple_list_gen (gen : Generator , sort : bool = True ) -> list : ...
57- def fast_unique_multiple_list (lists : list , sort : bool = True ) -> list : ...
58- def fast_unique_multiple (arrays : list , sort : bool = True ) -> list : ...
48+ def is_time_array (values : np .ndarray , skipna : bool = ... ): ...
49+ def is_date_array (values : np .ndarray , skipna : bool = ... ): ...
50+ def is_datetime_array (values : np .ndarray , skipna : bool = ... ): ...
51+ def is_string_array (values : np .ndarray , skipna : bool = ... ): ...
52+ def is_float_array (values : np .ndarray , skipna : bool = ... ): ...
53+ def is_integer_array (values : np .ndarray , skipna : bool = ... ): ...
54+ def is_bool_array (values : np .ndarray , skipna : bool = ... ): ...
55+ def fast_multiget (mapping : dict , keys : np .ndarray , default = ... ) -> np .ndarray : ...
56+ def fast_unique_multiple_list_gen (gen : Generator , sort : bool = ... ) -> list : ...
57+ def fast_unique_multiple_list (lists : list , sort : bool = ... ) -> list : ...
58+ def fast_unique_multiple (arrays : list , sort : bool = ... ) -> list : ...
5959def map_infer (
6060 arr : np .ndarray ,
6161 f : Callable [[Any ], Any ],
62- convert : bool = True ,
63- ignore_na : bool = False ,
62+ convert : bool = ... ,
63+ ignore_na : bool = ... ,
6464) -> np .ndarray : ...
6565@overload # both convert_datetime and convert_to_nullable_integer False -> np.ndarray
6666def maybe_convert_objects (
@@ -131,27 +131,27 @@ def maybe_convert_objects(
131131def maybe_convert_numeric (
132132 values : npt .NDArray [np .object_ ],
133133 na_values : set ,
134- convert_empty : bool = True ,
135- coerce_numeric : bool = False ,
134+ convert_empty : bool = ... ,
135+ coerce_numeric : bool = ... ,
136136 convert_to_masked_nullable : Literal [False ] = ...,
137137) -> tuple [np .ndarray , None ]: ...
138138@overload
139139def maybe_convert_numeric (
140140 values : npt .NDArray [np .object_ ],
141141 na_values : set ,
142- convert_empty : bool = True ,
143- coerce_numeric : bool = False ,
142+ convert_empty : bool = ... ,
143+ coerce_numeric : bool = ... ,
144144 * ,
145145 convert_to_masked_nullable : Literal [True ],
146146) -> tuple [np .ndarray , np .ndarray ]: ...
147147
148148# TODO: restrict `arr`?
149149def ensure_string_array (
150150 arr ,
151- na_value : object = np . nan ,
152- convert_na_value : bool = True ,
153- copy : bool = True ,
154- skipna : bool = True ,
151+ na_value : object = ... ,
152+ convert_na_value : bool = ... ,
153+ copy : bool = ... ,
154+ skipna : bool = ... ,
155155) -> npt .NDArray [np .object_ ]: ...
156156def infer_datetimelike_array (
157157 arr : npt .NDArray [np .object_ ],
@@ -169,7 +169,7 @@ def tuples_to_object_array(
169169) -> ndarray_obj_2d : ...
170170
171171# TODO: can we be more specific about rows?
172- def to_object_array (rows : object , min_width : int = 0 ) -> ndarray_obj_2d : ...
172+ def to_object_array (rows : object , min_width : int = ... ) -> ndarray_obj_2d : ...
173173def dicts_to_array (dicts : list , columns : list ) -> ndarray_obj_2d : ...
174174def maybe_booleans_to_slice (
175175 mask : npt .NDArray [np .uint8 ],
@@ -214,8 +214,8 @@ def get_level_sorter(
214214def generate_bins_dt64 (
215215 values : npt .NDArray [np .int64 ],
216216 binner : np .ndarray , # const int64_t[:]
217- closed : object = "left" ,
218- hasnans : bool = False ,
217+ closed : object = ... ,
218+ hasnans : bool = ... ,
219219) -> np .ndarray : ... # np.ndarray[np.int64, ndim=1]
220220def array_equivalent_object (
221221 left : np .ndarray , # object[:]
0 commit comments