These are primarily intended for library authors looking to extend pandas objects.

api.extensions.register_extension_dtype(cls) Register an ExtensionType with pandas as class decorator.
api.extensions.register_dataframe_accessor(name) Register a custom accessor on DataFrame objects.
api.extensions.register_series_accessor(name) Register a custom accessor on Series objects.
api.extensions.register_index_accessor(name) 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]) A pandas ExtensionArray for NumPy data.
Scroll To Top