Column Selector.Keys Method
Definition
Namespace: Numerics.NET.DataAnalysis.Schema
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Keys<C>(IEnumerable<C>) | Creates a selector for the specified explicit column keys. |
| Keys<C>(C[]) | Creates a selector for the specified explicit column keys. |
Keys<C>(IEnumerable<C>)
Creates a selector for the specified explicit column keys.
public static ColumnSelector Keys<C>(
IEnumerable<C> keys
)
Parameters
- keys IEnumerable<C>
- The typed column keys.
Type Parameters
- C
- The element type of the data frame column index.
Return Value
ColumnSelectorA selector for keys.
Remarks
Duplicate keys are ignored after validation. Results are returned in schema order, not key-list order. Missing explicit keys throw KeyNotFoundException when the selector is resolved.
Exceptions
| Argument | keys is null or contains a null key. |
Keys<C>(C[])
Creates a selector for the specified explicit column keys.
public static ColumnSelector Keys<C>(
params C[] keys
)
Parameters
- keys C[]
- The typed column keys.
Type Parameters
- C
- The element type of the data frame column index.
Return Value
ColumnSelectorA selector for keys.
Remarks
Duplicate keys are ignored after validation. Results are returned in schema order, not key-list order. Missing explicit keys throw KeyNotFoundException when the selector is resolved.
Exceptions
| Argument | keys is null or contains a null key. |