We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d067a36 commit b7a2c1aCopy full SHA for b7a2c1a
xlsx2csv.py
@@ -877,6 +877,9 @@ def handleCharData(self, data):
877
format_type = "float"
878
elif self.colType == "n":
879
880
+ elif not self.colType and len(self.data) and self.data[0] >= '0' and self.data[0] <= '9':
881
+ # default assumption for a cell without t attribute is that it is a number
882
+ format_type = "float"
883
884
if format_type and not format_type in self.ignore_formats and self.data not in EXCEL_ERROR_VALUES:
885
try:
0 commit comments