Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created March 18, 2019 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitomad/60ad364feeb61f9df7d73bef47e14d2a to your computer and use it in GitHub Desktop.
Save fitomad/60ad364feeb61f9df7d73bef47e14d2a to your computer and use it in GitHub Desktop.
let parsingOptions = MLDataTable.ParsingOptions(containsHeader: true, delimiter: ";")
if let datasetURL = URL(string: "/Users/adolfo/Desktop/TicTacToe.csv"),
var dataTable = try? MLDataTable(contentsOf: datasetURL, options: parsingOptions)
{
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment