Given this dataframe and set:
df = pd.DataFrame({\'blah\':[\'cats\',\'cats\',\'dogs\',\'dogs\',\'snakes\',\'snakes\',\'bears\',\'bears\'], \'fo