Les pandas se transforment en probabilité
df['prob_x'] = df['x'] / df['x'].sum()
Cloudy Civet
df['prob_x'] = df['x'] / df['x'].sum()