I have a dataframe df that looks like this:
df
name category sam_yell3_1 yellow sam_yell3_2 yellow sam_yell4_10 yellow sam_blk1