The Column Filter is one of the most commonly used nodes in KNIME. Although simple nature--selecting and deselecting columns--it is invaluable for many workflows. The Column Filter node allows users to select columns in three different ways:
1) Manual Selection: You manually choose which columns to include or exclude. Pay attention to the "Enforce Inclusion" and "Enforce Inclusion" options. If you have dynamic data sets whose columns might change, you may want to enable one of these options to ensure no new columns appear where they should not.
2) Wildcard/Regex Selection: By writing a wildcard expression or regular expression you can control which columns to include or exclude dynamically. In the second example to the left, the wildcard expression "State*" ensures that any time a field matches that pattern that it will be included in the column set. All other columns will be excluded automatically.
3) Type Selection: By indicating which types of columns you wish to include, you can dynamically control the columns that pass through this node. Type Selection is a valuable asset when you want only numeric columns to flow through, as with certain predictive models.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.