@@ -797,20 +797,20 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
797
797
@overload
798
798
def replace (
799
799
self ,
800
- to_replace : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
801
- value : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
800
+ to_replace : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
801
+ value : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
802
802
* ,
803
803
inplace : Literal [True ],
804
- regex : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
804
+ regex : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
805
805
) -> None : ...
806
806
@overload
807
807
def replace (
808
808
self ,
809
- to_replace : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
810
- value : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
809
+ to_replace : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
810
+ value : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
811
811
* ,
812
812
inplace : Literal [False ] = ...,
813
- regex : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
813
+ regex : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
814
814
) -> Self : ...
815
815
def shift (
816
816
self ,
0 commit comments