Click or drag to resize

DataFrameLoad(StreamReader, String, Boolean, Boolean, String, Boolean) Method

Imports a data frame from the given stream reader.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DataFrame Load(
	StreamReader reader,
	string name,
	bool hasHeader,
	bool hasRowKeys,
	string delimiter,
	bool parse
)

Parameters

reader  StreamReader
The input stream reader.
name  String
The name of the data frame.
hasHeader  Boolean
A boolean value indicating whether or not the stream contains column headers.
hasRowKeys  Boolean
A boolean value indicating whether or not the stream contains row keys.
delimiter  String
The column delimiter.
parse  Boolean
A boolean value indicating whether to parse the column types, or treat everything as string data.

Return Value

DataFrame
A new data frame.
Exceptions
ExceptionCondition
NMathExceptionThrown if an I/O error is encountered, or if the file is in the wrong format.
See Also