Confusion between text and number while reading Excel using xlrd
I am trying to read an Excel file using xlrd, inside cells containing a formula using IF : in one case the cell contains a string, otherwise it is the result of a calculation. I get a very odd behaviour : some cells which clearly contain text are considered to be numbers after being read by xlrd. This is annoying because in the code I'm trying to write, there should be a test based on the content of a cell : if the cell contains text then it should be ignored, otherwise I use the value to some other purpose And even weirder, if I modify the formula inside the Excel file (for example I change o
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.