@@ -797,20 +797,20 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
797797 @overload
798798 def replace (
799799 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 ] = ...,
802802 * ,
803803 inplace : Literal [True ],
804- regex : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
804+ regex : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
805805 ) -> None : ...
806806 @overload
807807 def replace (
808808 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 ] = ...,
811811 * ,
812812 inplace : Literal [False ] = ...,
813- regex : ReplaceValue | Mapping [Hashable , ReplaceValue ] = ...,
813+ regex : ReplaceValue | Mapping [HashableT2 , ReplaceValue ] = ...,
814814 ) -> Self : ...
815815 def shift (
816816 self ,
0 commit comments