swat.cas.table.CASTable.as_matrix

CASTable.as_matrix(self, columns=None, n=None)

Represent CASTable as a Numpy array

Parameters
columnslist of strings, optional

The names of the columns to add to the matrix.

nint or long, optional

The maximum number of rows to fetch. If None, then the value in swat.options.dataset.max_rows_fetched is used.

Returns
numpy.array