练习题
Exercise: Introduction
In this exercise we will perform basic operations: reading, filtering,
writing and visualizing.
- Read the adult.csv dataset (Hint: drag and drop the file into the
workflow)- Filter out rows where themarital-statusis missing
- Filter out the “fnlwgt” column
- Write the transformed dataset to a new csv file on your machine
- Produce a Bar Chart showing the number of occurrencies per marital-status
大概意思就是读取CSV文件,对数据进行“行和列”的过滤处理,最后在电脑本地生成新的CSV文件,并且对结婚次数输出柱状图,笔者和官方处理后的结果略有不同,但是workflow是一样的,删除了文件workclass列中的?选项,最后清除了“fnlwgt”列。
流程图
结果
说明
原始数据下载:
Knime官方网站