add_repeat_or_alternate_numeric# add_repeat_or_alternate_numeric(df_in: DataFrame) → DataFrame[source]# Adds roa_choice_numeric: 0 if the animal alternated, -1 if it repeated to the left, 1 if it repeated to the right (NaN otherwise). Same values as get_repeat_or_alternate_to_numeric, for the whole column at once.