Icon

LAB 3 Part 2

Annotations and comments
  • Task 3: Data Transformation 1. Work with the adult.csv data again and create a new column "work-status" with the value "full-time" if the weekly working hours are >=40 and "part-time" otherwise 2. Replace the hyphen in "United-States" by a space character in the "native-country" column 3. Create a new column "year-of-birth" by substracting the age number from 1994, which is the year when the data were collected 4. OPTIONAL: Replicate the tasks 3 & 4 with the Column Expressions node
  • Task 1: Row Filtering 1. Read the adult.csv file by executing the CSV Reader node 2. Filter out rows where the marital status is missing 3. Extract rows where - the marital status is divorced - the marital status is never married and age is between 20 and 40 (both included) - the workclass starts with "S"
  • Task 2: Column Filtering 1. Read the adult_education.table file by executing the Table Reader node 2. Exclude the "education-num" column - manually - by including only string type columns
  • Telco
  • Complete the same tasks as above
  • Exclude tenure
  • Exclude senior, tenure, etc...
  • year-of-birth column
  • Dependent
  • Partner
  • Filter out rows seniors
  • Gender
  • Workclass starts with "S"
  • Create work status column
  • Replace "Month-to-month" to Monthly

Nodes

Extensions

Links