DataFrame.as_matrix()
pandas.DataFrame.as_matrix
-
DataFrame.as_matrix(columns=None)
-
Convert the frame to its Numpy-array representation.
Parameters: columns: list, optional, default:None
If None, return all columns, otherwise, returns specified columns.
Returns: values : ndarray
If the caller is heterogeneous and contains booleans or objects, the result will be of dtype=object. See Notes.
See also