-
Notifications
You must be signed in to change notification settings - Fork 105
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
_as_pandas() converts 'NA' to nan - consider adding optional keep_default_na=False argument #154
Comments
How about allowing the option to keep_default_na, na_values, in the execution method as follows:
|
Is that an already working solution or do you suggest to implement something like this? |
It is implemented in the following branches.
The current implementation is designed to load the CSV automatically after the query is executed, so calling as_pasdas does not load the CSV. The _as_pandas method is called in the constructor of the result_set object. |
'NA' strings in a result in result_set.py are converted to nan by the function _as_pandas().
Consider adding optional argument keep_default_na in the pd.read_csv() inside _as_pandas() function to control behaviour.
This correlates to issue #118 and #120
The text was updated successfully, but these errors were encountered: