We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I have a CSV detailing info about airports. The country code column is encoded using 2 character ISO-3166 codes. https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
It turns out that the code for Namibia is "NA" and this results in the values being stripped as it converts from CSV to SQLite DB.
I was able to solve this by adding na_filter=False to the pd.read_csv() call in utils.py
csvs-to-sqlite/csvs_to_sqlite/utils.py
Line 24 in dccbf65
Would you consider adding an option to allow this flag to be passed into the pd.read_csv call?
Thanks Darren
The text was updated successfully, but these errors were encountered:
I agree, I have the same issue.
Sorry, something went wrong.
No branches or pull requests
I have a CSV detailing info about airports. The country code column is encoded using 2 character ISO-3166 codes. https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
It turns out that the code for Namibia is "NA" and this results in the values being stripped as it converts from CSV to SQLite DB.
I was able to solve this by adding na_filter=False to the pd.read_csv() call in utils.py
csvs-to-sqlite/csvs_to_sqlite/utils.py
Line 24 in dccbf65
Would you consider adding an option to allow this flag to be passed into the pd.read_csv call?
Thanks
Darren
The text was updated successfully, but these errors were encountered: