i have column like this
ID
Step 1
Step 2
Step 4B
Step 5
Step 6
Config 1
Config 2
Config 3
Config 4
Config 5
Config 6
Config 7
Config 8
Config 9
Config 10
Step 3(Option11)
Step 5(Option11)
Step 3(Option12)
Step 5(Option12)
Step 4A
Config 6(Option11)
Config 6(Option12)
Config 6(Option13)
here i want to add .0 to the first occurence of the number And the output is like below
ID
Step 1.0
Step 2.0
Step 4.0B
Step 5.0
Step 6.0
Config 1.0
Config 2.0
Config 3.0
Config 4.0
Config 5.0
Config 6.0
Config 7.0
Config 8.0
Config 9.0
Config 10.0
Step 3.0(Option11)
Step 5.0(Option11)
Step 3.0(Option12)
Step 5.0(Option12)
Step 4.0A
Config 6.0(Option11)
Config 6.0(Option12)
Config 6.0(Option13)
i have tried this pattern r'^(\D*)(\d+)(\D*)$'
it is not giving desired output
i want to get the output as above