Data Frame Schema<R, C>.Resolve Ordinals Method
Resolves a selector to ordered column ordinals.
Definition
Namespace: Numerics.NET.DataAnalysis.Schema
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
The selected column ordinals in schema order.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
public IReadOnlyList<int> ResolveOrdinals(
ColumnSelector selector
)Parameters
- selector ColumnSelector
- The selector to resolve against this schema.
Return Value
IReadOnlyList<Int32>The selected column ordinals in schema order.
Remarks
Selectors resolve against schema metadata only. They do not read vector values. The returned ordinals are distinct and ordered by this schema's column order.
Exceptions
| Argument | selector is null. |
| Key | The selector contains an explicit key that is not present in the schema. |
| Invalid | The selector contains typed keys or a typed key predicate whose key type does not match the schema column-key type. |