I need some help in python. I need to modify the value in an specific row. I have something like this.
ID Status Customer Name
345 New Braskem S.A
923 Closed Braskem
046 New Braskem S.A
195 New Braskem S.A
537 In Progress Braskem
237 On Hold Vale
355 Closed BIMBO
There's a few ways to do this. Arguably the simplest is to use
df.replace(to_replace='Braskem S.A', value='Braskem')
You can also use a boolean mask or a map.