pandas 0.7.3 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