in playground/process_analysis/status_transition_graph.py [0:0]
def _timedelta_between(current: pd.Timestamp, previous: pd.Timestamp) -> timedelta: return current.to_pydatetime() - previous.to_pydatetime()