I want to remove the '00' from the relevant column values in the below dataset.
0 9549917574
1 9600849879
2 9623023075
3 9663914217
4 9672775708
204 965067266400
205 965259283200
206 966127051400
207 963156240300
208 963177760600
I've used the below code:
lc_subs['PARNO'] = lc_subs.PARNO.str.removesuffix('00')
It returns the below error:
'StringMethods' object has no attribute 'removesuffix'
I get the same error for Series if I use the below code:
lc_subs['PARNO'] = lc_subs.PARNO.removesuffix('00')
Thanks!