pandas 0.8.1 documentation

pandas.DataFrame.values

DataFrame.values

Convert the frame to its Numpy-array matrix representation. Columns are presented in sorted order unless a specific list of columns is provided.

Parameters :

columns : array-like

Specific column order

Returns :

values : ndarray

If the DataFrame is heterogeneous and contains booleans or objects, the result will be of dtype=object