我有一个包含自定义格式#0000000000的列的EXCEL文件.如果我使用这三个命令中的任何一个将其读入Pandas 数据框中
pd.read_excel("F或matted_File.xlsx", dtype=str)
或
pd.read_excel("F或matted_File.xlsx", dtype="object")
或 just
pd.read_excel("F或matted_File.xlsx")
我得到了一个截断为零的数据.
Without going into details, but let's assume I cannot change the Custom F或matting of the input Excel file. How can I preserve the leading zeros while reading the file to pandas data frame?