swat.cas.table.CASTable.to_sparse

CASTable.to_sparse(self, *args, **kwargs)

Convert table data to SparseDataFrame

This method writes an object on the client side. This means that all of the data in the table must all be fetched. If you want to save a file on the server side, use the table.save CAS action.

Parameters
*argspositional arguments

Positional arguments to pandas.DataFrame.to_sparse()

**kwargskeyword arguments

Keyword arguments to pandas.DataFrame.to_sparse()

Returns
pandas.SparseDataFrame