Comment ajouter des zéros devant les nombres en pandas
number = 15 # number of zeroes to add
df['ID'] = df['ID'].str.zfill(number)
Gifted Grasshopper
number = 15 # number of zeroes to add
df['ID'] = df['ID'].str.zfill(number)