
a={}
with open('stop_times.txt') as trips:
    for row in trips:
        temp = row.split(',')
        stationId =  temp[3]
        arrivalTime = temp[1]
        uniqueTripID = row.split(',')[0][13:]
        if(uniqueTripID in a):
            a[uniqueTripID][stationId] = arrivalTime
        else:
            a[uniqueTripID] = {}
            a[uniqueTripID][stationId] = arrivalTime

import pickle
newfile = open("stopTimesData.pkl","wb")
pickle.dump(a,newfile)

dccda74a3afc47d5a069e69f88429022b3502bb7
<mask token>

<mask token>
with open('stop_times.txt') as trips:
    for row in trips:
        temp = row.split(',')
        stationId = temp[3]
        arrivalTime = temp[1]
        uniqueTripID = row.split(',')[0][13:]
        if uniqueTripID in a:
            a[uniqueTripID][stationId] = arrivalTime
        else:
            a[uniqueTripID] = {}
            a[uniqueTripID][stationId] = arrivalTime
<mask token>
pickle.dump(a, newfile)

a = {}
with open('stop_times.txt') as trips:
    for row in trips:
        temp = row.split(',')
        stationId = temp[3]
        arrivalTime = temp[1]
        uniqueTripID = row.split(',')[0][13:]
        if uniqueTripID in a:
            a[uniqueTripID][stationId] = arrivalTime
        else:
            a[uniqueTripID] = {}
            a[uniqueTripID][stationId] = arrivalTime
<mask token>
newfile = open('stopTimesData.pkl', 'wb')
pickle.dump(a, newfile)

a = {}
with open('stop_times.txt') as trips:
    for row in trips:
        temp = row.split(',')
        stationId = temp[3]
        arrivalTime = temp[1]
        uniqueTripID = row.split(',')[0][13:]
        if uniqueTripID in a:
            a[uniqueTripID][stationId] = arrivalTime
        else:
            a[uniqueTripID] = {}
            a[uniqueTripID][stationId] = arrivalTime
import pickle
newfile = open('stopTimesData.pkl', 'wb')
pickle.dump(a, newfile)


a={}
with open('stop_times.txt') as trips:
    for row in trips:
        temp = row.split(',')
        stationId =  temp[3]
        arrivalTime = temp[1]
        uniqueTripID = row.split(',')[0][13:]
        if(uniqueTripID in a):
            a[uniqueTripID][stationId] = arrivalTime
        else:
            a[uniqueTripID] = {}
            a[uniqueTripID][stationId] = arrivalTime

import pickle
newfile = open("stopTimesData.pkl","wb")
pickle.dump(a,newfile)
