pandas.api.extensions.ExtensionArray.view

ExtensionArray.view(self, dtype=None) → Union[pandas.core.dtypes.generic.ABCExtensionArray, numpy.ndarray][source]

Return a view on the array.

Parameters
dtypestr, np.dtype, or ExtensionDtype, optional

Default None.

Returns
ExtensionArray

A view of the ExtensionArray.