ratings_test = test_data.map(lambda l: l.split()).map(lambda a :
Row(userId=int(a[0]),movieId=int(a[1]),index=i)).cache()
I want the index row to be increasing
ratings_test = test_data.map(lambda l: l.split()).map(lambda a :
Row(userId=int(a[0]),movieId=int(a[1]),index=i)).cache()
I want the index row to be increasing