pandas how to put 0 before number code example
Example: how to add zeros in front of numbers in pandas
number = 15 # number of zeroes to add
df['ID'] = df['ID'].str.zfill(number)
number = 15 # number of zeroes to add
df['ID'] = df['ID'].str.zfill(number)