My company has recently implemented ArcGIS Pro and I am completely useless when using it (so it feels). In ArcMap I could simply highlight a column with numbers in it, right click, choose properties and then pad with zeros so that every number has the same amount of digits. With Pro on the other hand, everything seems to be in Python, or else I would have to add padding manually...This is really putting a damper on my project which is due in a few weeks...any suggestions? Image below is what I want Pro attribute table to look like, but Pro attribute table gets rid of padding!
you can use !FIELDNAME!.zfill(#)
So if you had a text field width 5 and a value in there such as 23, it would make it 00023, if thats what you are looking for.
If you go ArcGIS Pro's new "Fields" view, there is a column for Number Format. Double click fields that are Numeric and a "..." should appear. Click that to open the number format options which should look familiar. It should have the same ArcMap options like Rounding, Alignment, and Pad with zeros. Make your changes and then be sure to "Save" the field changes.