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