Aggregate implements Transformation
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- __invoke() : DataFrame
Methods
__construct()
public
__construct(array<int, AggregatingFunction> $aggregations[, null|BucketingAlgorithmBuilder $algorithm = null ]) : mixed
Parameters
- $aggregations : array<int, AggregatingFunction>
- $algorithm : null|BucketingAlgorithmBuilder = null
-
null defers to configuration; a builder pins the algorithm for this operation and skips any automatic choice
__invoke()
public
__invoke(DataFrame|GroupedDataFrame $dataFrame) : DataFrame
Parameters
- $dataFrame : DataFrame|GroupedDataFrame
Tags
Attributes
- #[NoDiscard]