I have this dataframe df, which includes name and type columns:
df
name
type
name type Jay c1 Rand c2 Hano c3 Jay c1 Jay