DataStream.ReadDataFrame<R>(String, 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, string> ReadDataFrame<R>(
	string keyColumn,
	bool dropIndexColumn = true
)

Parameters

keyColumn  String
The name 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.

Return Value

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

Exceptions

KeyNotFoundException

A column named keyColumn could not be found in the data frame.

InvalidCastException

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

See Also