Note: This API is now obsolete.
Reads a data frame from a CSV file.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use the classes in the Extreme.Data package instead.")]
public static DataFrame<long, string> ReadCsv(
string path,
bool hasHeaders = true,
int skipLines = 0,
CultureInfo culture = null,
bool decimalAsDouble = true,
int inferenceRows = 2147483647
)
<ObsoleteAttribute("Use the classes in the Extreme.Data package instead.")>
Public Shared Function ReadCsv (
path As String,
Optional hasHeaders As Boolean = true,
Optional skipLines As Integer = 0,
Optional culture As CultureInfo = Nothing,
Optional decimalAsDouble As Boolean = true,
Optional inferenceRows As Integer = 2147483647
) As DataFrame(Of Long, String)
public:
[ObsoleteAttribute(L"Use the classes in the Extreme.Data package instead.")]
static DataFrame<long long, String^>^ ReadCsv(
String^ path,
bool hasHeaders = true,
int skipLines = 0,
CultureInfo^ culture = nullptr,
bool decimalAsDouble = true,
int inferenceRows = 2147483647
)
[<ObsoleteAttribute("Use the classes in the Extreme.Data package instead.")>]
static member ReadCsv :
path : string *
?hasHeaders : bool *
?skipLines : int *
?culture : CultureInfo *
?decimalAsDouble : bool *
?inferenceRows : int
(* Defaults:
let _hasHeaders = defaultArg hasHeaders true
let _skipLines = defaultArg skipLines 0
let _culture = defaultArg culture null
let _decimalAsDouble = defaultArg decimalAsDouble true
let _inferenceRows = defaultArg inferenceRows 2147483647
*)
-> DataFrame<int64, string>
Parameters
- path
- Type: SystemString
The path to the file. - hasHeaders (Optional)
- Type: SystemBoolean
Specifies whether the first record contains
column headers. The default is . - skipLines (Optional)
- Type: SystemInt32
The number of lines to skip
at the beginning of the file. The default is 0. - culture (Optional)
- Type: System.GlobalizationCultureInfo
The culture to use for parsing numbers and dates. - decimalAsDouble (Optional)
- Type: SystemBoolean
Specifies whether columns containing
numbers with decimals should be returned as Double
instead of Decimal. - inferenceRows (Optional)
- Type: SystemInt32
The number of records to use to infer
the data types of the columns. The default is 10.
Return Value
Type:
DataFrameInt64,
StringA data frame that contains the data in the CSV file.
Reference