Standardizing text means making values that refer to the same thing homogeneous: removing extra spaces, unifying case, correcting typos, normalizing accents and labels. Without it, "Paris", "paris" and "Paris " with a trailing space are counted as three different values.
Example
df['ville'] = df['ville'].str.strip().str.lower()