get_box_usage_df#

get_box_usage_df(df: DataFrame, events_df: DataFrame, verbose: bool = True) → DataFrame[source]#

Time of each session spent completing the first trial, engaged, disengaged, unaccounted and exiting the box (see get_session_box_usage), with the session end taken from events_df (see get_session_ends). Sessions without an end in the events are skipped. Empty (with the columns) if there are none.