#To make all your floats show comma separators
pd.options.display.float_format = '{:,}'.format
# 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))