Skip to content

Commit

Permalink
remove redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 committed Dec 9, 2024
1 parent e8bd1d5 commit fa544a5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,7 @@ def get_sched_trips_hr(analysis_date: str) -> pd.DataFrame:
keep_trip_cols = ['trip_instance_key', 'gtfs_dataset_key', 'route_id',
'shape_id']
trips = helpers.import_scheduled_trips(analysis_date, columns=keep_trip_cols)
trips = trips.rename(
columns={'gtfs_dataset_key': 'schedule_gtfs_dataset_key'})

time_buckets = get_trip_time_buckets(analysis_date)
trips = pd.merge(trips, time_buckets, on='trip_instance_key', how='inner')
schedule_trip_counts = count_trips_by_group(trips,
Expand Down

0 comments on commit fa544a5

Please sign in to comment.