Icon

Exercise1

There has been no title set for this workflow's metadata.

KBL: Chapter 2 Exercise 1

Reading data, filtering rows and columns, writing to CSV files



URL: KNIME Beginner's Luck (Book Homepage) https://www.knime.com/knimepress/beginners-luck

Annotations and comments
  • Workflow: Chapter 2/Exercise 1 This exercise applies: advanced file reading features column and row filtering writing file Note that the data1.txt file has a header with comments. The two workflows apply two different methods to exclude the comment header from the read data: File Reader with "allow short lines" on and "skip first 6 lines" in "Limit Rows" tab in "Advanced" page File Reader with only "allow short lines" on in "Advanced" page and subsequent row filter to remove first 5 spurious rows
  • data1.txt "support short rows" enabled skip first 5 rows rename "ranking" into "marks"
  • data1.txt only "support short rows" enabled rename "ranking" into "marks"
  • write new data table to data1_new.csv with column headers
  • exclude column <class>
  • exclude first 5 rows

Nodes

Extensions

Links