sampo.userinput.parser.history#
Overview#
|
- |
|
- |
- |
|
|
Count statistics on the occurrence of different mutual arrangement of tasks |
|
- |
|
Restore tasks’ connection based on history data |
Functions#
- sampo.userinput.parser.history.get_all_connections(graph_df: pandas.DataFrame, use_mapper: bool = False, mapper: sampo.utilities.task_name.NameMapper = None) Tuple[dict[str, list], dict[str, list]]#
- sampo.userinput.parser.history.get_delta_between_dates(first: str, second: str) int#
- sampo.userinput.parser.history.find_min_without_outliers(lst: list[float]) float#
- sampo.userinput.parser.history.gather_links_types_statistics(s1: str, f1: str, s2: str, f2: str) Tuple[int, int, int, list, list, int, list, list, int, list, list, int, list, list]#
Count statistics on the occurrence of different mutual arrangement of tasks
- Parameters:
s1 – start of first work
f1 – finish of first work
s2 – start of second work
f2 – finish of second work
- Returns:
Statistics on the occurrence of different mutual arrangement of tasks
- sampo.userinput.parser.history.get_all_seq_statistic(history_data, graph_df, use_model_name=False, mapper=None)#
- sampo.userinput.parser.history.set_connections_info(graph_df: pandas.DataFrame, history_data: pandas.DataFrame, use_model_name: bool = False, mapper=None, change_connections_info: bool = False, expert_connections_info: bool = False) pandas.DataFrame#
Restore tasks’ connection based on history data
- Param:
change_connections_info - whether existing connections should be modified based on connection history data
- Param:
expert_connections_info - whether existing connections should not be modified based on connection history data
- Returns:
repaired DataFrame