This function also removes rows where the inner_col has NA.

reduce_label_sequence(df, inner_col)

Arguments

df

An tibble

Value

The filtered df