NestedExtensionArray.to_numpy#
- NestedExtensionArray.to_numpy(dtype: DTypeLike | None = None, copy: bool = False, na_value: Any = <no_default>) ndarray[source]#
Convert the extension array to a numpy array.
- Parameters:
dtype (None) – This parameter is left for compatibility with the base class method, but it is not used. dtype of the returned array is always an object.
copy (bool, default False) – Whether to copy the data. It is not guaranteed that the data will not be copied if copy is False.
na_value (Any, optional) – The value to use for missing values. If not provided, None will be used.
- Returns:
The numpy array of pd.DataFrame objects. Each element is a single time-series.
- Return type:
np.ndarray