| DataFrameLoad(Stream, String, Boolean, Boolean, String, Boolean) Method |
Imports a data frame from the given stream.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DataFrame Load(
Stream stream,
string name,
bool hasHeader,
bool hasRowKeys,
string delimiter,
bool parse
)
Public Shared Function Load (
stream As Stream,
name As String,
hasHeader As Boolean,
hasRowKeys As Boolean,
delimiter As String,
parse As Boolean
) As DataFrame
public:
static DataFrame^ Load(
Stream^ stream,
String^ name,
bool hasHeader,
bool hasRowKeys,
String^ delimiter,
bool parse
)
static member Load :
stream : Stream *
name : string *
hasHeader : bool *
hasRowKeys : bool *
delimiter : string *
parse : bool -> DataFrame
Parameters
- stream Stream
- An input stream.
- name String
- The name of the data frame.
- 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
- A 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