Column Selector.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#
The selected columns in schema order.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
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
| Argument | schema is null. |
| Key | The selector contains an explicit key that is not present in schema. |
| Invalid | The selector contains typed keys or a typed key predicate whose key type does not match the schema column-key type. |