Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val file = "/home/tolga/Desktop/mics18-2/big-data/homework2/covtype.csv/data-10.csv"
- for(line <- Source.fromFile(file).getLines){
- val seriesArray : Array = line.split(",").map(_.toInt).distinct /*error on this line*/
- println(line)
- }
Add Comment
Please, Sign In to add comment