FixedWidthTextFile.ReadDataFrame<R>(Stream, Int32[], 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,
	int[] columnBreaks,
	string keyColumn,
	bool dropKeyColumn = true


stream  Stream
A stream.
columnBreaks  Int32[]
An integer array containing the zero-based indexes of the column breaks on each row.
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 file pointed to by stream.



A column named keyColumn was not found in the file.

See Also