perform calculation on df.values and store results in new column code example Example: pandas create a calculated column df['A_perc'] = df['A']/df['sum']