Imports a data frame from the given text file.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static DataFrame Load(
	string filename,
	bool hasHeader,
	bool hasRowKeys,
	string delimiter,
	bool parse
)
Visual Basic (Declaration)
Public Shared Function Load ( _
	filename As String, _
	hasHeader As Boolean, _
	hasRowKeys As Boolean, _
	delimiter As String, _
	parse As Boolean _
) As DataFrame
Visual C++
public:
static DataFrame^ Load(
	String^ filename, 
	bool hasHeader, 
	bool hasRowKeys, 
	String^ delimiter, 
	bool parse
)

Parameters

filename
Type: System..::.String
The input file name.
hasHeader
Type: System..::.Boolean
A boolean value indicating whether or not the string contains column headers.
hasRowKeys
Type: System..::.Boolean
A boolean value indicating whether or not the string contains row keys.
delimiter
Type: System..::.String
The column delimiter.
parse
Type: System..::.Boolean
A boolean value indicating whether to parse the column types, or treat everything as string data.

Return Value

A new data frame.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.NMathExceptionThrown if an I/O error is encountered, or if the file is in the wrong format.

See Also