We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648d156 commit 9498481Copy full SHA for 9498481
pandas/core/dtypes/dtypes.py
@@ -27,6 +27,11 @@ def register_extension_dtype(cls):
27
This enables operations like ``.astype(name)`` for the name
28
of the ExtensionDtype.
29
30
+ Returns
31
+ -------
32
+ callable
33
+ A class decorator.
34
+
35
Examples
36
--------
37
>>> from pandas.api.extensions import register_extension_dtype
pandas/core/dtypes/inference.py
@@ -436,6 +436,10 @@ def is_hashable(obj):
436
Distinguish between these and other types by trying the call to hash() and
437
seeing if they raise TypeError.
438
439
440
441
+ bool
442
443
444
445
>>> a = ([],)
0 commit comments