Aggregation<C, COut>.As<COut2> Method
Creates a descriptor that uses the specified output key.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
A new descriptor with the specified output key.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
public Aggregation<C, COut2> As<COut2>(
COut2 outputKey
)
Parameters
- outputKey COut2
- The output key to use for outputs produced by this descriptor.
Type Parameters
- COut2
- The new result dataframe column-key type.
Return Value
Aggregation<C, COut2>A new descriptor with the specified output key.
Remarks
The current descriptor is unchanged. If the descriptor resolves to multiple source columns or column pairs, the same explicit output key is emitted for each output; duplicate output-key validation then rejects the aggregate request.
Exceptions
| Argument | outputKey is null. |