def parseVector(line):
    line = line.split("|")
    return line[0],(line[1],float(line[2]))
Parse each line of the specified data file, assuming a "|" delimiter.
dataset/ETHPy150Open evancasey/spark-knn-recommender/algorithms/itemBasedRecommender.py/parseVector