Created
January 6, 2019 15:33
-
-
Save ozgurshn/03782326f77fbff9351e921f4026d000 to your computer and use it in GitHub Desktop.
ParsingOptions MLDataTable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let parsingOptions = MLDataTable.ParsingOptions(containsHeader: true, delimiter: ",", comment: "", escape: "", doubleQuote: false, quote: "", skipInitialSpaces: false, missingValues: [], lineTerminator: "\r", selectColumns:["author","rating","review"], maxRows: nil, skipRows: 0) | |
| var table = try MLDataTable(contentsOf: URL(fileURLWithPath: "/Users/ozgur/Documents/CreateMLFiles/dataset/bitmojiReviews.csv"), options: parsingOptions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment