goldshtn / spark-workshop

Labs and data files for a full-day Spark workshop
MIT License
24 stars 23 forks source link

topFive part shows error #11

Open rohithareddy opened 6 years ago

rohithareddy commented 6 years ago

topFive = sorted(enumerate(similarities.collect()), key=lambda (k, v): -v)[0:5] Near this particula line it shows pyspark 5063 error