@@ -73,7 +73,7 @@ class Index(IndexOpsMixin[S1]):
7373 * ,
7474 dtype : Literal ["int" ] | type_t [int | np .integer ] = ...,
7575 copy : bool = ...,
76- name = ...,
76+ name : Hashable = ...,
7777 tupleize_cols : bool = ...,
7878 ** kwargs ,
7979 ) -> Index [int ]: ...
@@ -84,7 +84,7 @@ class Index(IndexOpsMixin[S1]):
8484 * ,
8585 dtype : Literal ["int" ] | type_t [int | np .integer ],
8686 copy : bool = ...,
87- name = ...,
87+ name : Hashable = ...,
8888 tupleize_cols : bool = ...,
8989 ** kwargs ,
9090 ) -> Index [int ]: ...
@@ -95,7 +95,7 @@ class Index(IndexOpsMixin[S1]):
9595 * ,
9696 dtype : Literal ["float" ] | type_t [float | np .floating ] = ...,
9797 copy : bool = ...,
98- name = ...,
98+ name : Hashable = ...,
9999 tupleize_cols : bool = ...,
100100 ** kwargs ,
101101 ) -> Index [float ]: ...
@@ -106,7 +106,7 @@ class Index(IndexOpsMixin[S1]):
106106 * ,
107107 dtype : Literal ["float" ] | type_t [float | np .floating ],
108108 copy : bool = ...,
109- name = ...,
109+ name : Hashable = ...,
110110 tupleize_cols : bool = ...,
111111 ** kwargs ,
112112 ) -> Index [float ]: ...
@@ -121,7 +121,7 @@ class Index(IndexOpsMixin[S1]):
121121 * ,
122122 dtype : Literal ["complex" ] | type_t [complex | np .complexfloating ] = ...,
123123 copy : bool = ...,
124- name = ...,
124+ name : Hashable = ...,
125125 tupleize_cols : bool = ...,
126126 ** kwargs ,
127127 ) -> Index [complex ]: ...
@@ -132,7 +132,7 @@ class Index(IndexOpsMixin[S1]):
132132 * ,
133133 dtype : Literal ["complex" ] | type_t [complex | np .complexfloating ],
134134 copy : bool = ...,
135- name = ...,
135+ name : Hashable = ...,
136136 tupleize_cols : bool = ...,
137137 ** kwargs ,
138138 ) -> Index [complex ]: ...
@@ -144,7 +144,7 @@ class Index(IndexOpsMixin[S1]):
144144 * ,
145145 dtype : TimestampDtypeArg = ...,
146146 copy : bool = ...,
147- name = ...,
147+ name : Hashable = ...,
148148 tupleize_cols : bool = ...,
149149 ** kwargs ,
150150 ) -> DatetimeIndex : ...
@@ -155,7 +155,7 @@ class Index(IndexOpsMixin[S1]):
155155 * ,
156156 dtype : TimestampDtypeArg ,
157157 copy : bool = ...,
158- name = ...,
158+ name : Hashable = ...,
159159 tupleize_cols : bool = ...,
160160 ** kwargs ,
161161 ) -> DatetimeIndex : ...
@@ -166,7 +166,7 @@ class Index(IndexOpsMixin[S1]):
166166 * ,
167167 dtype : PeriodDtype = ...,
168168 copy : bool = ...,
169- name = ...,
169+ name : Hashable = ...,
170170 tupleize_cols : bool = ...,
171171 ** kwargs ,
172172 ) -> PeriodIndex : ...
@@ -177,7 +177,7 @@ class Index(IndexOpsMixin[S1]):
177177 * ,
178178 dtype : PeriodDtype ,
179179 copy : bool = ...,
180- name = ...,
180+ name : Hashable = ...,
181181 tupleize_cols : bool = ...,
182182 ** kwargs ,
183183 ) -> PeriodIndex : ...
@@ -188,7 +188,7 @@ class Index(IndexOpsMixin[S1]):
188188 * ,
189189 dtype : TimedeltaDtypeArg = ...,
190190 copy : bool = ...,
191- name = ...,
191+ name : Hashable = ...,
192192 tupleize_cols : bool = ...,
193193 ** kwargs ,
194194 ) -> TimedeltaIndex : ...
@@ -199,7 +199,7 @@ class Index(IndexOpsMixin[S1]):
199199 * ,
200200 dtype : TimedeltaDtypeArg ,
201201 copy : bool = ...,
202- name = ...,
202+ name : Hashable = ...,
203203 tupleize_cols : bool = ...,
204204 ** kwargs ,
205205 ) -> TimedeltaIndex : ...
@@ -210,7 +210,7 @@ class Index(IndexOpsMixin[S1]):
210210 * ,
211211 dtype : Literal ["Interval" ] = ...,
212212 copy : bool = ...,
213- name = ...,
213+ name : Hashable = ...,
214214 tupleize_cols : bool = ...,
215215 ** kwargs ,
216216 ) -> IntervalIndex [Interval [_OrderableT ]]: ...
@@ -221,7 +221,7 @@ class Index(IndexOpsMixin[S1]):
221221 * ,
222222 dtype : Literal ["Interval" ],
223223 copy : bool = ...,
224- name = ...,
224+ name : Hashable = ...,
225225 tupleize_cols : bool = ...,
226226 ** kwargs ,
227227 ) -> IntervalIndex [Interval [Any ]]: ...
@@ -233,7 +233,7 @@ class Index(IndexOpsMixin[S1]):
233233 * ,
234234 dtype : type [S1 ] = ...,
235235 copy : bool = ...,
236- name = ...,
236+ name : Hashable = ...,
237237 tupleize_cols : bool = ...,
238238 ** kwargs ,
239239 ) -> Self : ...
@@ -244,7 +244,7 @@ class Index(IndexOpsMixin[S1]):
244244 * ,
245245 dtype : type [S1 ],
246246 copy : bool = ...,
247- name = ...,
247+ name : Hashable = ...,
248248 tupleize_cols : bool = ...,
249249 ** kwargs ,
250250 ) -> Self : ...
@@ -256,7 +256,7 @@ class Index(IndexOpsMixin[S1]):
256256 * ,
257257 dtype = ...,
258258 copy : bool = ...,
259- name = ...,
259+ name : Hashable = ...,
260260 tupleize_cols : bool = ...,
261261 ** kwargs ,
262262 ) -> Self : ...
@@ -277,14 +277,14 @@ class Index(IndexOpsMixin[S1]):
277277 self , indices , axis : int = ..., allow_fill : bool = ..., fill_value = ..., ** kwargs
278278 ): ...
279279 def repeat (self , repeats , axis = ...): ...
280- def copy (self , name = ..., deep : bool = ...) -> Self : ...
280+ def copy (self , name : Hashable = ..., deep : bool = ...) -> Self : ...
281281 def __copy__ (self , ** kwargs ): ...
282282 def __deepcopy__ (self , memo = ...): ...
283283 def format (
284284 self , name : bool = ..., formatter : Callable | None = ..., na_rep : _str = ...
285285 ) -> list [_str ]: ...
286286 def to_flat_index (self ): ...
287- def to_series (self , index = ..., name = ...) -> Series : ...
287+ def to_series (self , index = ..., name : Hashable = ...) -> Series : ...
288288 def to_frame (self , index : bool = ..., name = ...) -> DataFrame : ...
289289 @property
290290 def name (self ): ...
@@ -341,7 +341,7 @@ class Index(IndexOpsMixin[S1]):
341341 def intersection (self , other : list [S1 ] | Self , sort : bool = ...) -> Self : ...
342342 def difference (self , other : list | Index , sort : bool | None = None ) -> Self : ...
343343 def symmetric_difference (
344- self , other : list [S1 ] | Self , result_name = ..., sort = ...
344+ self , other : list [S1 ] | Self , result_name : Hashable = ..., sort = ...
345345 ) -> Self : ...
346346 def get_loc (
347347 self ,
0 commit comments