Given:
a = 1 b = 10 c = 100
How do I display a leading zero for all numbers with less than two digits?
This is the output I\'m expe
df['Col1']=df['Col1'].apply(lambda x: '{0:0>5}'.format(x))
The 5 is the number of total digits.
I used this link: http://www.datasciencemadesimple.com/add-leading-preceding-zeros-python/