swat.cas.table.CASTable.from_items

classmethod CASTable.from_items(connection, items, casout=None, **kwargs)

Create a CASTable from a (key, value) pairs

Parameters:
connection : CAS

The CAS connection to read the data into.

items : tuples

The tuples containing the data. The values should be arrays or pandas.Series.

casout : string or CASTable, optional
The output table specification. This includes the following parameters.
name : string, optional

Name of the output CAS table.

caslib : string, optional

CASLib for the output CAS table.

label : string, optional

The label to apply to the output CAS table.

promote : boolean, optional

If True, the output CAS table will be visible in all sessions.

replace : boolean, optional

If True, the output CAS table will replace any existing CAS. table with the same name.

**kwargs : keyword arguments

Keyword arguments sent to pandas.DataFrame.from_items().

Returns:
CASTable