Skip to content

Instantly share code, notes, and snippets.

View tlapusan's full-sized avatar

Tudor Lapusan tlapusan

View GitHub Profile
val movies = sc.textFile("file:///home/ubuntu/Downloads/ml-1m/movies.dat")
C:\Users\tudor\ml-1m
val movies = sc.textFile("C://Users//tudor//ml-1m//movies.dat")
movies.take(5)
val separated = movies.map(line => line.split("::"))