Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading NA values properly from XLS files #1213

changhiskhan opened this issue May 8, 2012 · 0 comments


Copy link

commented May 8, 2012

From pystatsmodels mailing list:

"I've got an excel file created from Paste Values that when read with pandas.ExcelFile returns int 42 for #N/A values.

Looking at it would seem I'd need to be able to access the xlrd cell type rather than the value to interpret as NaN. Is there a way to do this?"

As suggested by the stackoverflow article, we should use the error_text_from_code dict in the xlrd module to convert error codes to the proper text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.