transbigdata.busgps_onewaytime

transbigdata.busgps_onewaytime(arrive_info, start, end, col=['VehicleId', 'stopname', 'arrivetime', 'leavetime'])

Input the departure information table drive_info and the station information table stop to calculate the one-way travel time

Parameters:
  • arrive_info (DataFrame) – The departure information table drive_info

  • start (Str) – Starting station name

  • end (Str) – Ending station name

  • col (List) – Column name [vehicle ID, station name,arrivetime,leavetime]

Returns:

onewaytime – One-way travel time of the bus

Return type:

DataFrame