I have a script that retrieves data from an Excel spreadsheet using the xlrd module, specifically the row_values () method. It seems to do just fine, except when "# N / A" was automatically generated by previous VLookups, in which case xlrd gets "# N / A" as an integer 42.
I looked at string formatting methods, but couldn't figure out how this is a problem.
Besides having a script that revealed the meaning of life (42), can anyone suggest what might be the problem?
Greetings
Note. There are no more Vlookups in the sheet, all values were copied from other sheets, all simple values, no formulas.
source
share