DataStream.ReadDataFrame<R, C>(Int32, Boolean) Method

Reads a data frame from the file.

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public DataFrame<R, C> ReadDataFrame<R, C>(
	int keyColumn,
	bool dropIndexColumn = true
)

Parameters

keyColumn  Int32
The index of the column that serves as the index of the data frame.
dropIndexColumn  Boolean  (Optional)
Optional. Specifies whether the column that contains the row keys should be dropped from the data frame. The default is true.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

DataFrame<R, C>
A data frame containing the data in the file.

Exceptions

ArgumentOutOfRangeException

keyColumn is less than zero or greater than or equal to the number of columns in the data frame.

InvalidCastException

The elements in the key column can not be converted to the key type R.

See Also