pandas.arrays.PandasArray.to_numpy
-
PandasArray.to_numpy(dtype=None, copy=False)[source] -
Convert the PandasArray to a
numpy.ndarray.By default, this requires no coercion or copying of data.
Parameters: -
dtype : numpy.dtype -
The NumPy dtype to pass to
numpy.asarray(). -
copy : bool, default False -
Whether to copy the underlying data.
Returns: - ndarray
-
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.arrays.PandasArray.to_numpy.html