class swat.cas.datamsghandlers.FWF(path, nrecs=1000, transformers=None, **kwargs)

Bases: swat.cas.datamsghandlers.PandasDataFrame

Create an FWF data message handler

path : string

Path to text file.

nrecs : int, optional

Number of records to send at a time.

**kwargs : keyword arguments, optional

Arguments sent to pandas.io.parsers.read_table().

FWF data message handler object

See also

pandas.io.parsers.read_table(), PandasDataFrame

__init__(path, nrecs=1000, transformers=None, **kwargs)

Initialize self. See help(type(self)) for accurate signature.


__init__(path[, nrecs, transformers]) Initialize self.
finish(connection) Finish the data sending operation
getone(connection, **kwargs) Get a single response from the server
getrow(row) Get a row of values from the data source
send(connection, nrecs) Send the records to the connection
write(row, values) Write the value to the row and column specified in the buffer


args Property that generates the CAS action parameters for CAS actions that use a data message handler.