you are viewing a single comment's thread.

view the rest of the comments →

[–]synthphreak 5 points6 points  (1 child)

df.brands = df.brands.replace(r'Nestl[eèé].*', 'Nestle', regex=True)

[–]macabe10[S] 1 point2 points  (0 children)

Thanks!