How do you keep your float in the % format?
float
df[\'growth_rate\'] = df[\'growth_rate\'].replace(\'%\', \'\', regex=True).astype(float, errors=\'ignore
Maybe using pandas style?
df.style.format("{:.2%}")