

@orca.column('tours')
def out_period(tours, settings):
    return pd.cut(tours.end, settings['time_periods']['hours'], labels=settings['time_periods']['labels'])

dataset/ETHPy150Open UDST/activitysim/activitysim/defaults/tables/tours.py out_period/original