sampo.utilities.schedule#
Overview#
|
Process and merge information for all tasks, which were separated on the several stages during split |
|
Merge split stages of the same real task into one |
|
Remove ‘start’, ‘finish’ and milestone tasks from the schedule |
Functions#
- sampo.utilities.schedule.fix_split_tasks(baps_schedule_df: pandas.DataFrame) pandas.DataFrame#
Process and merge information for all tasks, which were separated on the several stages during split
- Parameters:
baps_schedule_df – pd.DataFrame: schedule with info for tasks separated on stages
- Returns:
pd.DataFrame: schedule with merged info for all real tasks
- sampo.utilities.schedule.merge_split_stages(task_df: pandas.DataFrame) pandas.Series#
Merge split stages of the same real task into one
- Parameters:
task_df – pd.DataFrame: one real task’s stages dataframe, sorted by start time
- Returns:
pd.Series with the full information about the task
- sampo.utilities.schedule.remove_service_tasks(service_schedule_df: pandas.DataFrame) pandas.DataFrame#
Remove ‘start’, ‘finish’ and milestone tasks from the schedule
- Parameters:
service_schedule_df – pd.DataFrame: schedule (with merges stages in the case of baps) with service tasks
- Returns:
pd.DataFrame: schedule without information about service tasks