-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
The complete code:
let x = 42
x + 3
let greet name =
printfn "Hello, %s" name
open System
open System.IO
let path = "/home/nbuser/trainingsample.csv"
let data0 = File.ReadAllLines path
let data1 =
data0
|> Array.map (fun line -> line.Split(','))
data0.[1..50] |> Array.map (fun (line:string) -> line.Split(','))See here the working case:
Change data0.[1..10] into a higher value like [1..50] and you get the following error:
Full Error here:
https://gist.github.com/ShalokShalom/84c4d8a488925189fd9a99ffc09ca7fd
And here is the used trainingsample.csv.
Right click on View Raw OR Download and then on Save Link/Target as.. in order to download it.
https://github.com/c4fsharp/Dojo-Digits-Recognizer/blob/master/Dojo/trainingsample.csv

