I am working with python pandas and MS excel to edit an xlsx file. I repeat these programs back and forth. The file contains several columns with text that looks like numbers, for example,

If I read it, I get
pd.read_excel ('test.xlsx')
A
0 1
1 100
and
pd.read_excel ('test.xlsx').dtypes
A int64
dtype: object
My question is: how can I read text as text? It is impossible to analyze it after reading, because part of the information (i.e. leading zeros) is lost when converting to a number.
Thank you for your help.
Felix source
share