swat.cas.table.CASTable.to_sparse

CASTable.to_sparse(*args, **kwargs)

Convert CAS 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:
*args : positional arguments

Positional arguments to pandas.DataFrame.to_sparse()

**kwargs : keyword arguments

Keyword arguments to pandas.DataFrame.to_sparse()

Returns:
pandas.SparseDataFrame