Loads the dataset from CSV file.
Namespace:
SiaNet.Model
Assembly:
SiaNet (in SiaNet.dll)
public void LoadFromCsv(
string filePath,
bool hasHeaders,
bool seperatedByWhitespace,
DataType dataType
)
Public Sub LoadFromCsv ( _
filePath As String, _
hasHeaders As Boolean, _
seperatedByWhitespace As Boolean, _
dataType As DataType _
)
public:
void LoadFromCsv(
String^ filePath,
bool^ hasHeaders,
bool^ seperatedByWhitespace,
DataType^ dataType
)
Parameters
- filePath
- Type: String
The CSV file path.
- hasHeaders
- Type: Boolean
If the CSV file have headers
- seperatedByWhitespace
- Type: Boolean
If row data is seperated by whitespace, otherwise comma by default
- dataType
- Type: DataType
Data type of the CSV data.