Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 10 (Splitting and Extracting New Columns (IF-then statements…
Chapter 10
Splitting and Extracting New Columns
IF-then statements
Allows for examination of a value in the column and enables the user to change and manipulate this value and other values in the dataset.
Create
content in a new column
depending on what
exists in one or more columns
One-Hot encoding:
conversion of a categorical column
containing two or more possible values
into a new column w/ binary values of 1 or 0
(TRUE or FALSE)
also
"dummy encoding"
--> likely
improve predictive ability
Transformations
Applied to
Two Columns
Addition [+]
Subtraction [-]
Absolute [Abs()]
Multiplication [*]
Division [/]
Less than [<]
Less than or equal [< =]
Greater than [>]
Greater than or equal [> =]
Not equal [! =]
Equal [= =]
Exponentiation [**]
1-single Column
Natural logarithm [Log()]
Square root [Sqrt()]
Square [Square()]
Larsen Ch. 10 (not 10.1.2)
Ryan Broida