def build_from_csv(filename):
    fr = open(filename, "r")
    for line in fr:
        call = line.split(' ')[1]
        time = line.split(' ')[0]
        if call not in GLOBAL:
            GLOBAL.append(call)
        calls.append([time, GLOBAL.index(call)])
    fr.close()
dataset/ETHPy150Open columbia/libtrack/libtrack/parser/scripts/bipolar.py/build_from_csv/original