Reads a data frame from a file in delimited text format.
Namespace:
Extreme.Data.Text
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static DataFrame<R, string> ReadDataFrame<R>(
string path,
string keyColumn,
bool dropKeyColumn = true,
DelimitedTextOptions options = null
)
Public Shared Function ReadDataFrame(Of R) (
path As String,
keyColumn As String,
Optional dropKeyColumn As Boolean = true,
Optional options As DelimitedTextOptions = Nothing
) As DataFrame(Of R, String)
public:
generic<typename R>
static DataFrame<R, String^>^ ReadDataFrame(
String^ path,
String^ keyColumn,
bool dropKeyColumn = true,
DelimitedTextOptions^ options = nullptr
)
static member ReadDataFrame :
path : string *
keyColumn : string *
?dropKeyColumn : bool *
?options : DelimitedTextOptions
(* Defaults:
let _dropKeyColumn = defaultArg dropKeyColumn true
let _options = defaultArg options null
*)
-> DataFrame<'R, string>
Parameters
- path
- Type: SystemString
The path to the file. - keyColumn
- Type: SystemString
The name of the column that contains the column keys. - dropKeyColumn (Optional)
- Type: SystemBoolean
If , the key column
is not included in the returned data frame. - options (Optional)
- Type: Extreme.Data.TextDelimitedTextOptions
A DelimitedTextOptions object
that specifies the options to use when reading the file.
Type Parameters
- R
- The element type of the key column.
Return Value
Type:
DataFrameR,
StringThe data frame that was read from the file
pointed to by
path.
Reference