repeat_or_alternate_series_comparison#

repeat_or_alternate_series_comparison(series: Series, comparison_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 between the two series or not.