Excel文件中的整数变成浮点数?
发布于 2021-01-29 18:38:31
我用来xlrd
从Excel文件中读取数据。
假设对于存储在文件中的整数63
,xlrd
解释将其解释为63.0
type number
。
为什么不能xlrd
识别63
为整数?
假设sheet.row(1)[0].value
给了我们63.0
。如何将其转换回63
。
关注者
0
被浏览
140