We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b18266 commit 0771619Copy full SHA for 0771619
pandas/_typing.py
@@ -219,6 +219,8 @@ def __reversed__(self) -> Iterator[_T_co]: ...
219
)
220
221
# For functions like rename that convert one label to another
222
+# For example, you can pass a dict like {'old_name' : 'new_name'}
223
+# or a function like str.lower
224
Renamer: TypeAlias = Mapping[Any, Hashable] | Callable[[Any], Hashable]
225
226
# to maintain type information across generic functions and parametrization
0 commit comments