Max
A Callable for returning the maximum value in a column.
Definition
- class controller.callable.transformer.Max(self, column: ColumnReference, output_name: str, output_list: list[str])
- Callable name:
max- Callable type:
- Parameters:
column (ColumnReference) – A column reference to find value from.
output_name (str) – The name of the new column containing the Callable output.
Parameters
- column
A column reference to find value from.
- Type:
- Required:
True
- Choices:
All columns in the target DataFrame
Output
A DataFrame is returned where it contains all columns specified in the output_list, potentially including a new column with the name <callable_id>.<output_name>.
Example configuration
{
"name": "foo",
"callable": "max",
"params": {
"column": "$get_submissions.submission.score",
"output_name": "max_score",
"output_list": [
"get_submissions.submission.id",
"get_submissions.submission.score",
"foo.max_score"
]
}
}