ColumnSelector(names: Optional[List[str]] = None, subgroups: Optional[List[nvtabular.columns.selector.ColumnSelector]] = None, tags: Optional[List[Union[nvtabular.tags.Tags, str]]] = None)[source]
A ColumnSelector describes a group of columns to be transformed by Operators in a Workflow. Operators can be applied to the selected columns by shifting (>>) operators on to the ColumnSelector, which returns a new WorkflowNode with the transformations applied. This lets you define a graph of operations that makes up your Workflow.
names (list of (str or tuple of str)) – The columns to select from the input Dataset. The elements of this list are strings indicating the column names in most cases, but can also be tuples of strings for feature crosses.
subgroups (list of ColumnSelector objects) – This provides an alternate syntax for grouping column names together (instead of nesting tuples inside the list of names)
optional (list of ColumnSelector objects) – This provides an alternate syntax for grouping column names together (instead of nesting tuples inside the list of names)
list of weak references to the object (if defined)