| DataFrameLoad(String, Boolean, Boolean, String, Boolean) Method |
Imports a data frame from the given text file.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DataFrame Load(
string filename,
bool hasHeader,
bool hasRowKeys,
string delimiter,
bool parse
)
Public Shared Function Load (
filename As String,
hasHeader As Boolean,
hasRowKeys As Boolean,
delimiter As String,
parse As Boolean
) As DataFrame
public:
static DataFrame^ Load(
String^ filename,
bool hasHeader,
bool hasRowKeys,
String^ delimiter,
bool parse
)
static member Load :
filename : string *
hasHeader : bool *
hasRowKeys : bool *
delimiter : string *
parse : bool -> DataFrame
Parameters
- filename String
- The input file name.
- hasHeader Boolean
- A boolean value indicating whether or not the string contains column headers.
- hasRowKeys Boolean
- A boolean value indicating whether or not the string 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
DataFrameA new data frame.
Exceptions Exception | Condition |
---|
NMathException | Thrown if an I/O error is encountered, or if the file is
in the wrong format. |
See Also