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

Explicitly test for nan being handled correctly #123

Open
shntnu opened this issue Mar 23, 2020 · 1 comment
Open

Explicitly test for nan being handled correctly #123

shntnu opened this issue Mar 23, 2020 · 1 comment

Comments

@shntnu
Copy link
Member

shntnu commented Mar 23, 2020

No description provided.

@diskontinuum
Copy link
Contributor

diskontinuum commented Sep 24, 2020

This was partly addressed by the latest merged PR.
If the files contain NaNs, then the easiest way to ingest them would be:

  1. use the Parquet backend by adding the flag --parquet
  2. modify the config.ini file that is used in the command: In the [schema] section set type_conversion = all2string.

The ingested file contents are now all stored as type string. This might be a problem downstream, so this is generally not the preferred setting. However, conversion to str might be the last resort in a situation where the files have different types and NANs for columns that will be concatenated and are tied to a schema type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants