Select columns in Table with Regex¶
There are many situations where you may want to throw away some of the columns of a table. Perhaps the amount of data is large and you want to trim it to increase performance, or perhaps some column was just needed as an intermediary step in some analysis.
Whatever the reason, if you want to remove some of the columns of a Table the standard libray offers two types of nodes which provide this functionality. The nodes Select columns in Table and Select columns in Tables will let you select what columns to keep (if complement is disabled) or which columns to throw away (if complement is enabled) in their GUI. The nodes Select columns in Table with Table and Select columns in Tables with Table instead take a second input table with a filter column containing the names of all the columns that should be kept (if complement is disabled) or all the columns that should be thrown away (if complement is enabled). The configuration for the latter nodes also allows you to choose the column that should be used as a filter.
Select all columns whose names match a regex.
- port1 : table
- port2 : table
Table with a subset of the incoming columns
- Remove matching columns
When enabled, matching columns will be removed. When disabled, non-matching columns will be removed.
Regex for matching column names.