def parse(line):
    reader = csv.reader(StringIO(line))
    row = [float(x) for x in reader.next()]
    return (tuple(row[:-1]), row[-1])
Splits the line on a CSV and parses it into floats. Returns a tuple of:
dataset/ETHPy150Open bbengfort/hadoop-fundamentals/blog_regression/spark-app.py/parse