Data Frame<R, C>.Get Row As<T> Method
Gets the row at the specified row index as a vector of the specified type.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The row with key key of the data frame as a vector with element type T.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public Vector<T> GetRowAs<T>(
R key
)
Parameters
- key R
- The key of the row to be returned.
Type Parameters
- T
- The desired element type of the row.
Return Value
Vector<T>The row with key key of the data frame as a vector with element type T.
Exceptions
Key | The specified key was not found in the row index. |