pandas.arrays.PandasArray

class pandas.arrays.PandasArray(values: Union[numpy.ndarray, PandasArray], copy: bool = False)[source]

A pandas ExtensionArray for NumPy data.

New in version 0.24.0.

This is mostly for internal compatibility, and is not especially useful on its own.

Parameters
valuesndarray

The NumPy ndarray to wrap. Must be 1-dimensional.

copybool, default False

Whether to copy values.

Attributes

None

Methods

None