- API reference
- Extensions
Extensions#
These are primarily intended for library authors looking to extend pandasobjects.
Register an ExtensionType with pandas as class decorator. | |
Register a custom accessor on DataFrame objects. | |
Register a custom accessor on Series objects. | |
Register a custom accessor on Index objects. | |
A custom data type, to be paired with an ExtensionArray. |
Abstract base class for custom 1-D array types. | |
| A pandas ExtensionArray for NumPy data. |
Additionally, we have some utility methods for ensuring your objectbehaves correctly.
| Check ifindexer is a valid array indexer forarray. |
The sentinelpandas.api.extensions.no_default is used as the defaultvalue in some methods. Use anis comparison to check if the userprovides a non-default value.