EventColumns#
- class EventColumns(df: DataFrame)[source]#
Bases:
objectEvent columns of a dataframe, read with parse_events. Each column is read the first time it is used and kept, so that several functions can share it:
events = EventColumns(df) df = add_mouse_first_choice(df, events) df = add_trial_misses(df, events)
The lists follow the order of the rows of df.
Methods
__init__(df)