These are primarily intended for library authors looking to extend pandas objects.
api.extensions.register_extension_dtype(cls)
api.extensions.register_extension_dtype
Register an ExtensionType with pandas as class decorator.
api.extensions.register_dataframe_accessor(name)
api.extensions.register_dataframe_accessor
Register a custom accessor on DataFrame objects.
api.extensions.register_series_accessor(name)
api.extensions.register_series_accessor
Register a custom accessor on Series objects.
api.extensions.register_index_accessor(name)
api.extensions.register_index_accessor
Register a custom accessor on Index objects.
api.extensions.ExtensionDtype
A custom data type, to be paired with an ExtensionArray.
api.extensions.ExtensionArray
Abstract base class for custom 1-D array types.
arrays.PandasArray(values[, copy])
arrays.PandasArray
A pandas ExtensionArray for NumPy data.
Additionally, we have some utility methods for ensuring your object behaves correctly.
api.indexers.check_bool_array_indexer(array, …)
api.indexers.check_bool_array_indexer
Check if mask is a valid boolean indexer for array.
The sentinel pandas.api.extensions.no_default is used as the default value in some methods. Use an is comparison to check if the user provides a non-default value.
pandas.api.extensions.no_default
is