pandas agregue miles de separadores

# add thousand separator for integers and 2 decimal places for floats
df['count'] = df['count'].apply(lambda x: "{:,}".format(int(x)) if x == int(x) else "{:.2f}%".format(100*x))
Combative Crocodile