databricks.koalas.DataFrame.to_numpy

DataFrame.to_numpy()

A NumPy ndarray representing the values in this DataFrame or Series.

Note

This method should only be used if the resulting NumPy ndarray is expected to be small, as all the data is loaded into the driver’s memory.

Returns
numpy.ndarray
Scroll To Top