swat.cas.table.CASTable.from_csv

classmethod CASTable.from_csv(connection, path, casout=None, **kwargs)

Create a CASTable from a CSV file

Parameters
connectionCAS

The CAS connection to read the data into.

pathstring or file-like object

The path, URL, or file-like object to get the data from.

casoutstring or CASTable, optional
The output table specification. This includes the following parameters.
namestring, optional

Name of the output CAS table.

caslibstring, optional

CASLib for the output CAS table.

labelstring, optional

The label to apply to the output CAS table.

promoteboolean, optional

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

replaceboolean, optional

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

**kwargskeyword arguments

Keyword arguments to pass to pandas.read_csv().

Returns
CASTable

See also

CAS.read_csv()
pandas.read_csv()