Let\'s say I have a pandas dataframe with the following structure:
df = pd.DataFrame(dict(a=["a", "a", "b"], b=[0, 1, 1], c=[1, 2, 2