I have a Pandas DF as below, and I'm struggling with printing it in a good looking format... Could someone please show me how to combine those two values from same column values?
data = {'Animal':['DOG','CAT','CAT','BIRD'],
'Color':['WHITE','BLACK','ORANGE','YELLOW']}
df = pd.DataFrame(data)
df
And I wish the print
result would be exactly as below:
DOG, WHITE
CAT, BLACK, ORANGE
BIRD, YELLOW