pandas.api.extensions.ExtensionArray.view

ExtensionArray.view(dtype=None)[source]

Return a view on the array.

Parameters:
dtypestr, np.dtype, or ExtensionDtype, optional

Default None.

Returns:
ExtensionArray or np.ndarray

A view on the ExtensionArray’s data.