I have a dataframe like below.
df = pd.DataFrame([111111,123456,12345,234,12,987654],columns=['id'])
so if you look at the row 3,4,5 the length of the ids are less than 6
id
111111
123456
12345
234
12
987654
I want to convert it to below(Basically append zeroes in the front to make it a length of six)
id
111111
123456
012345
000234
000012
987654