Created
April 4, 2021 11:17
-
-
Save lmeulen/1d1596e4285262521d155d4c70271868 to your computer and use it in GitHub Desktop.
crowdedness_loop_trips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timedata = pd.DataFrame() | |
for r in trips[trips.date == displaydate].trip_short_name.unique(): | |
timedata = timedata.append(get_trip_data(ritnumber=r, ritdate = displaydate)) | |
timedata = timedata.merge(stops[['stop_id', 'stop_code', 'stop_name']]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment