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

Metadata index can't handle value 'NA' #345

Closed
thermokarst opened this issue Oct 3, 2017 · 5 comments
Closed

Metadata index can't handle value 'NA' #345

thermokarst opened this issue Oct 3, 2017 · 5 comments
Assignees
Labels
metadata type:bug Something is wrong.

Comments

@thermokarst
Copy link
Contributor

The pandas parsing interprets 'NA' as np.nan, causing an index validation error. I suspect this also happens if a column name is 'NA', too.

This recently came up on the forum.

@thermokarst thermokarst added the type:bug Something is wrong. label Oct 3, 2017
@ElDeveloper
Copy link
Member

I've faced this issue, and solved it by setting the na_values=[], keep_default_na=False arguments.

@antgonza
Copy link
Member

antgonza commented Oct 3, 2017

Suggest taking a look at the Qiita load_template_to_dataframe function. It literally took us years to get it right (with multiple users updating templates) and we haven't had an issue in a while.

@thermokarst
Copy link
Contributor Author

This came up on the forum.

@jairideout jairideout self-assigned this Dec 12, 2017
@jairideout
Copy link
Member

forum x-ref

@jairideout
Copy link
Member

Fixed in #359; confirmed that IDs and columns can be named NA, which is no longer interpreted as a missing value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata type:bug Something is wrong.
Projects
None yet
Development

No branches or pull requests

5 participants