ExtensionsΒΆ

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

api.extensions.register_extension_dtype(cls) Class decorator to register an ExtensionType with pandas.
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