-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
error in common na_values definition #5521
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
Comments
this is not a bug. you can always specify your own |
No, he's saying that currently one of the values is: '#N/A N/A' |
Exactly . Take a look at the snippet. Inviato da Aifon
Il contenuto di questa e-mail è rivolto unicamente alle persone alle quali è indirizzato e può contenere informazioni la cui riservatezza è tutelata legalmente. Sono vietati la riproduzione, la diffusione e l’uso di questa e-mail in mancanza di autorizzazione del destinatario. Se avete ricevuto questa e-mail per errore vogliate cortesemente contattarci immediatamente. This e-mail is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Unauthorised reproduction, dissemination or use of this e-mail or of the information herein by anyone other than the intended recipient is prohibited. If you have received this e-mail by mistake, please notify us immediately. |
yeah, it's just easy to miss the point because it's a typo and subtle to |
#5601 should do it... |
Thanks for catching this! |
Actually, it wasn't a typo. Excel returns a '#N/A N/A' value sometimes. Please add this value back to the NA list. |
hmm, you are right, that should be their as well. wnat to do a PR for that? |
Il 26/06/2014 15:37, djchou ha scritto:
did you have a test case? Gla |
Sorry, this is my first time using Github. I'm not sure what you mean by PR. |
pull-request, see here: https://github.com/pydata/pandas/wiki |
Note for 0.14.1: need to add back
#N/A N/A
to na_values defaultsin pandas 0.12
i found a little bug:
this:
_NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN',
'#N/A N/A', 'NA', '#NA', 'NULL', 'NaN',
'nan', ''])
must be:
_NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN',
'#N/A','N/A', 'NA', '#NA', 'NULL', 'NaN',
'nan', ''])
thank you
Glauco
The text was updated successfully, but these errors were encountered: