add_trial_group_column# add_trial_group_column(df: DataFrame, n_groups: int = 20) → DataFrame[source]# Adds trial_group: the trials of each subject split, in order, into n_groups groups with the same number of trials (the number of the first trial of the group, from total_trial).