swat.dataframe.SASColumnSpec
- class swat.dataframe.SASColumnSpec(name, label=None, dtype=None, width=0, format='', size=(1, 1), attrs=None)
Bases: object
Create a SASDataFrame column information object
- Parameters:
- namestring
Name of the column.
- labelstring
Label for the column.
- typestring
SAS/CAS data type of the column.
- widthint or long
Width of the formatted column.
- formatstring
SAS format.
- sizetwo-element tuple
Dimensions of the data.
- attrsdict
Extended attributes of the column.
- Returns:
- SASColumnSpec object
- __init__(name, label=None, dtype=None, width=0, format='', size=(1, 1), attrs=None)
Methods
__init__(name[, label, dtype, width, ...])
fromtable(_sw_table, col[, elem])
Create instance from SWIG table