get_repeat_or_alternate_series#
- get_repeat_or_alternate_series(series: Series) Series[source]#
Given a series of values, return a series of the same length with “repeat” or “alternate” depending on whether the value is the same as the previous one or not.
Meant to be used for the trial side column (correct_side) Or the columns with the first choice of the mouse