Python replace 0 from middle of string : I have specific scenario where i have dataframe in which in one column i have text values like 'AZZZZ0ZZZZ','ZZZZZ0ZZZZ','BOMBAY 2.0' and i want to replace the middle 0 with 'NA'. If i use simple replace comand the other strings replace correctly but 'BOMBAY 2.0'.
I tried many different regex combination but no luck.
df['column'].str.replace('0','na') - results in changing the BOMBAY 2.0
df['column'].str.replace(r'\B0\B','na') - results in changing other values where i have 'nagpur' to '0gpur'

Please help.
