dlpy.timeseries.TimeseriesTable.from_serverfile

classmethod TimeseriesTable.from_serverfile(conn, path, columns=None, caslib=None, importoptions=None, casout=None)

Create an TimeseriesTable from a file on the server side

Parameters
connCAS

The CAS connection object

pathstring

The path that the server can access. If the caslib is specified, it is relative path to the file with respect to the caslib. otherwise, it is the full path to the file.

columnslist-of-strings, optional

columns to keep when loading the data. None means it will include all the columns from the source. Empty list means include no column, which will generate empty data. Default: None

caslibstring, optional

The name of the caslib which contains the file to be uploaded. Default: None

importoptionsdict, optional

Options to import data and upload to the server, such as filetype, delimiter, etc. None means use the default ‘auto’ method in the importoptions from CAS.upload. Default: None

casoutdict or CASTable, optional

If it is dict, it specifies the output CASTable parameters. If it is CASTable, it is the CASTable that will be overwritten. None means a new CASTable with random name will be generated. Default: None

Returns
TimeseriesTable