FixedWidthTextFile.ReadDataFrame<R>(Stream, FixedWidthTextOptions, String, Boolean) Method

Reads a data frame from a stream in fixed-width text format.


Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
public static DataFrame<R, string> ReadDataFrame<R>(
	Stream stream,
	FixedWidthTextOptions options,
	string keyColumn,
	bool dropKeyColumn = true


stream  Stream
A stream.
options  FixedWidthTextOptions
A FixedWidthTextOptions object that specifies the options to use when reading the file.
keyColumn  String
The name of the column that contains the column keys.
dropKeyColumn  Boolean  (Optional)
If true, the key column is not included in the returned data frame.

Type Parameters

The element type of the key column.

Return Value

DataFrame<R, String>
The data frame that was read from the stream pointed to by stream.



A column named keyColumn was not found in the file.

FileNotFoundException The specified file does not exist.

See Also