I have a Dataframe with various number of string. They should be 6 characters long but some mistakes have been done, so sometimes there is less. I want to add some "0" when needed to complete the length, at a very specific emplacement : after the letters.
existing :
index t0 t1 t2
0 0E315 0E16 0E17
1 BA1601
2 0A911 0A910
3 BA872 0A832 0A831
wanted :
index t0 t1 t2
0 0E0315 0E0016 0E0017
1 BA1601
2 0A0911 0A0910
3 BA0872 0A0832 0A0831
So far I tried many pandas function but no result. Anyone help?