Reads a data frame from a file in fixed-width 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,
FixedWidthTextOptions options,
string keyColumn,
bool dropKeyColumn = true
)
Public Shared Function ReadDataFrame(Of R) (
path As String,
options As FixedWidthTextOptions,
keyColumn As String,
Optional dropKeyColumn As Boolean = true
) As DataFrame(Of R, String)
public:
generic<typename R>
static DataFrame<R, String^>^ ReadDataFrame(
String^ path,
FixedWidthTextOptions^ options,
String^ keyColumn,
bool dropKeyColumn = true
)
static member ReadDataFrame :
path : string *
options : FixedWidthTextOptions *
keyColumn : string *
?dropKeyColumn : bool
(* Defaults:
let _dropKeyColumn = defaultArg dropKeyColumn true
*)
-> DataFrame<'R, string>
Parameters
- path
- Type: SystemString
The path to the file. - options
- Type: Extreme.Data.TextFixedWidthTextOptions
A FixedWidthTextOptions object
that specifies the options to use when reading 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.
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