Icon

How to Operate with Numbers, Strings and Rules

<p><strong>How to Operate with Numbers, Strings and Rules</strong></p><p>This workflow shows three different data transformation operations using the Expression node, namely:</p><ol><li><p>Create three categories of people based on their weekly work hours</p></li><li><p>Round up people's age to the nearest 10</p></li><li><p>Replace hyphens with " " characters in the native country column</p></li></ol>
Rules
Numbers
Strings

How to Operate with Numbers, Strings and Rules


This workflow shows three different data transformation operations using the Expression node, namely:

  1. Create three categories of people based on their weekly work hours

  2. Round up people's age to the nearest 10

  3. Replace hyphens with " " characters in the native country column

New column work status
Expression
Replace "-" with " "in native country
Expression
Column Filter
Adult dataset
Example Data Reader
Round up age to the nearest 10
Expression

Nodes

Extensions

Links