Version: v2.4
MathFunctionsMultiple
Math Functions Multiple
Type
transform
Fields
Name | Title | Description |
---|---|---|
description | Description | Description |
inputCols | Columns | Columns |
functions | Function | Math Function to apply |
replaceExistingCols | Replace Existing Cols | Replace Existing Columns (true, false) |
scales | Scale | Scale to be used when applying the Math Function |
Examples
Input
name | age | height |
---|---|---|
Alice | 5 | 80 |
Alice | 5 | 80 |
Alice | 10 | 80 |
James | 5 | 50 |
James | 10 | 60 |
James | 7 | 80 |
Parameters
Id | Columns | Function | Replace Existing Cols | Scale |
---|---|---|---|---|
1 | age | pow | true | 2 |
2 | height | sqrt | false |
Output
name | height | age | height_sqrt |
---|---|---|---|
Alice | 80 | 25.0 | 8.94427190999916 |
Alice | 80 | 25.0 | 8.94427190999916 |
Alice | 80 | 100.0 | 8.94427190999916 |
James | 50 | 25.0 | 7.0710678118654755 |
James | 60 | 100.0 | 7.745966692414834 |
James | 80 | 49.0 | 8.94427190999916 |