how to add zeros in front of numbers in pandas 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)