Series.as_matrix(columns=None) [source]
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 pandas.DataFrame.values Notes Return is NOT a Numpy-matrix, rather, a Numpy-array. The dtype will be a lower-common-denominator