Ajouter un pourcentage de colonnes Pandas
df['%'] = ((df['Code Lines'] / df['Code Lines'].sum())*100).round(2).astype(str) + '%'
Glorious Giraffe
df['%'] = ((df['Code Lines'] / df['Code Lines'].sum())*100).round(2).astype(str) + '%'
df['DAYSLATE_pct'] = df.DAYSLATE / df.DAYSLATE.sum()