ColumnSelector class

Definition

Matches a set of columns by name according to a search term.

ColumnSelector(term: str, use_regex: bool = False, ignore_case: bool = False, match_whole_word: bool = False, invert: bool = False)
Inheritance
builtins.object
ColumnSelector

Parameters

term

Search term to match available columns with.

use_regex

(Optional) Determines if the search term should be treated as a regular expression. Default False.

ignore_case

(Optional) Determines if string match should be case insensitive. Default False. Only applies in non-regex case.

match_whole_word

(Optional) Determines if string match should be for the whole word. Default False. Only applies in non-regex case.

invert

(Optional) Determines if the only columns not matching the term should be selected. Default False.