swat.cas.table.CASTable.as_matrix

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

Convert the CASTable to its Numpy-array representation

Parameters:
columns : list of strings, optional

The names of the columns to add to the matrix.

n : int 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