Aggregation.Count Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Count<C>(ColumnSelector) | Creates a descriptor that counts non-missing values in selected columns. |
| Count<C>(C) | Creates a descriptor that counts non-missing values in the specified column. |
Count<C>(ColumnSelector)
Creates a descriptor that counts non-missing values in selected columns.
public static Aggregation<C, string> Count<C>(
ColumnSelector selector
)
Parameters
- selector ColumnSelector
- The selector that identifies columns to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A count aggregation descriptor.
Exceptions
| Argument | selector is null. |
Count<C>(C)
Creates a descriptor that counts non-missing values in the specified column.
public static Aggregation<C, string> Count<C>(
C key
)
Parameters
- key C
- The key of the column to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A count aggregation descriptor.
Exceptions
| Argument | key is null. |