DataFrameSchema<R, C>.ResolveKeys Method

Resolves a selector to ordered column keys.

Definition

Namespace: Numerics.NET.DataAnalysis.Schema
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public IReadOnlyList<C> ResolveKeys(
	ColumnSelector selector
)

Parameters

selector  ColumnSelector
The selector to resolve against this schema.

Return Value

IReadOnlyList<C>
The selected column keys in schema order.

Remarks

Selectors resolve against schema metadata only. They do not read vector values. The returned keys are distinct and ordered by this schema's column order.

Exceptions

ArgumentNullExceptionselector is null.
KeyNotFoundException The selector contains an explicit key that is not present in the schema.
InvalidCastException The selector contains typed keys or a typed key predicate whose key type does not match the schema column-key type.

See Also