Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 10. Data Transformations (Chapter 10.2 Operators Applied to Two…
Chapter 10. Data Transformations
New Columns
Text
Extracting new columns from columns that contain text
Numerical
Add, substract, multiply etc.
Hel machine learning algorithms better predict the target
Chpater 10.1 If-Then statements
Allows for examination of a value in a column and make changes to the value in the dataset
One-hot encoding: the conversion of a categorical column containing two or more possible values into discreet columns representing each value
predictive ability will improve, especially if including characteristics of employee
Chapter 10.2 Operators Applied to Two Columns
Addition : +
Substraction: -
Absolute: Abs()
Multiplication: *
Division: /
Less than: <
Less than or equal: <=
Greater than: >
Greater than or equal: >=
Not equal: !=
Equal: ==
Exponentiation: **
Chapter 10.2 Operators Applied to One Column
Natural logarithm: Log()
Square root: Sqrt()
Square: Square()