win_stay_lose_switch#

win_stay_lose_switch(choice: Series, correct: Series) → tuple[source]#

(win_stay, lose_switch, n_wins, n_losses) of consecutive trials, as in metrics.choices.get_win_stay_lose_switch_df: after a correct trial, did the mouse choose the same side? After an error with a choice, the other?