Suppose I have the following series(type is string)
0 F0/Images/1/15.tiff
1 F0/Images/1/15.tiff
2 F0/Images/1/15.tiff
3 F0/Images/1/15.tiff
4 F0/Images/1/15.tiff
I want to "add" +1 to the number just before '.tiff'. So I should get a result:
0 F0/Images/1/16.tiff
1 F0/Images/1/16.tiff
2 F0/Images/1/16.tiff
3 F0/Images/1/16.tiff
4 F0/Images/1/16.tiff
How can I do it in pandas?