ZIP Codes in Pandas - Data Tutorials
data-tutorials.com/zip-codes-in-pandas.html01.01.2013 · You can see that the ZIP of Alice which was originally 01221 has been converted to 1221. This happens because pandas tries to infer the dtype of a column automatically. Actual numbers can never start with a zero: $ 0100 should be converted to $ 100. pandas is trying do do us a favor by converting our data into well formed numbers.