get_bias_evolution_df#
- get_bias_evolution_df(df: DataFrame, groupby: str | list[str]) DataFrame[source]#
Gets how the bias of the animals (alternating, right bias, or left bias) evolves over time.
Arguments: df: DataFrame with the data groupby: str or list, the column(s) to group by. Can be ‘session’ or ‘trial_group’
Returns: df: DataFrame with the bias evolution