Aggregators
Aggregators module.
Aggregators
¶
Bases: object
Class containing all aggregation functions.
Source code in mkdocs/lakehouse_engine/packages/transformers/aggregators.py
get_max_value(input_col, output_col='latest')
staticmethod
¶
Get the maximum value of a given column of a dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_col |
str
|
name of the input column. |
required |
output_col |
str
|
name of the output column (defaults to "latest"). |
'latest'
|
Returns:
Type | Description |
---|---|
Callable
|
A function to be executed in the .transform() spark function. |