python pandas convert series to percent code example
Example: python pandas convert series to percent
df[['PercentageSplit']] = ( 100 * df[['PercentageSplit']] ).round(2).astype(str) + "%" # The rounding is optional
df[['PercentageSplit']] = ( 100 * df[['PercentageSplit']] ).round(2).astype(str) + "%" # The rounding is optional