@@ -61,67 +61,48 @@ def nancorr_spearman(
6161
6262# ----------------------------------------------------------------------
6363
64- # ctypedef fused algos_t:
65- # float64_t
66- # float32_t
67- # object
68- # int64_t
69- # int32_t
70- # int16_t
71- # int8_t
72- # uint64_t
73- # uint32_t
74- # uint16_t
75- # uint8_t
76-
7764def validate_limit (nobs : int | None , limit = ...) -> int : ...
7865def pad (
79- old : np .ndarray , # ndarray[algos_t ]
80- new : np .ndarray , # ndarray[algos_t ]
66+ old : np .ndarray , # ndarray[numeric_object_t ]
67+ new : np .ndarray , # ndarray[numeric_object_t ]
8168 limit = ...,
8269) -> npt .NDArray [np .intp ]: ... # np.ndarray[np.intp, ndim=1]
8370def pad_inplace (
84- values : np .ndarray , # algos_t [:]
71+ values : np .ndarray , # numeric_object_t [:]
8572 mask : np .ndarray , # uint8_t[:]
8673 limit = ...,
8774) -> None : ...
8875def pad_2d_inplace (
89- values : np .ndarray , # algos_t [:, :]
76+ values : np .ndarray , # numeric_object_t [:, :]
9077 mask : np .ndarray , # const uint8_t[:, :]
9178 limit = ...,
9279) -> None : ...
9380def backfill (
94- old : np .ndarray , # ndarray[algos_t ]
95- new : np .ndarray , # ndarray[algos_t ]
81+ old : np .ndarray , # ndarray[numeric_object_t ]
82+ new : np .ndarray , # ndarray[numeric_object_t ]
9683 limit = ...,
9784) -> npt .NDArray [np .intp ]: ... # np.ndarray[np.intp, ndim=1]
9885def backfill_inplace (
99- values : np .ndarray , # algos_t [:]
86+ values : np .ndarray , # numeric_object_t [:]
10087 mask : np .ndarray , # uint8_t[:]
10188 limit = ...,
10289) -> None : ...
10390def backfill_2d_inplace (
104- values : np .ndarray , # algos_t [:, :]
91+ values : np .ndarray , # numeric_object_t [:, :]
10592 mask : np .ndarray , # const uint8_t[:, :]
10693 limit = ...,
10794) -> None : ...
10895def is_monotonic (
109- arr : np .ndarray , # ndarray[algos_t , ndim=1]
96+ arr : np .ndarray , # ndarray[numeric_object_t , ndim=1]
11097 timelike : bool ,
11198) -> tuple [bool , bool , bool ]: ...
11299
113100# ----------------------------------------------------------------------
114101# rank_1d, rank_2d
115102# ----------------------------------------------------------------------
116103
117- # ctypedef fused rank_t:
118- # object
119- # float64_t
120- # uint64_t
121- # int64_t
122-
123104def rank_1d (
124- values : np .ndarray , # ndarray[rank_t , ndim=1]
105+ values : np .ndarray , # ndarray[iu_64_floating_obj_t , ndim=1]
125106 labels : np .ndarray | None = ..., # const int64_t[:]=None
126107 is_datetimelike : bool = ...,
127108 ties_method = ...,
@@ -130,7 +111,7 @@ def rank_1d(
130111 na_option = ...,
131112) -> np .ndarray : ... # np.ndarray[float64_t, ndim=1]
132113def rank_2d (
133- in_arr : np .ndarray , # ndarray[rank_t , ndim=2]
114+ in_arr : np .ndarray , # ndarray[iu_64_floating_obj_t , ndim=2]
134115 axis : int = ...,
135116 is_datetimelike : bool = ...,
136117 ties_method = ...,
0 commit comments