ColumnSelector.Resolve<R, C> Method

Resolves this selector against a data frame schema.

Definition

Namespace: Numerics.NET.DataAnalysis.Schema
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public IReadOnlyList<ColumnSchema<C>> Resolve<R, C>(
	DataFrameSchema<R, C> schema
)

Parameters

schema  DataFrameSchema<R, C>
The schema used for resolution.

Type Parameters

R
The element type of the data frame row index.
C
The element type of the data frame column index.

Return Value

IReadOnlyList<ColumnSchema<C>>
The selected columns in schema order.

Remarks

Resolution returns distinct columns in schema order and does not read vector values. Hierarchical tuple keys are treated as ordinary values of type C.

Exceptions

ArgumentNullExceptionschema is null.
KeyNotFoundException The selector contains an explicit key that is not present in 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