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

DBAPI 2.0 broken when using dictionary as parameters #6708

Closed
ghost opened this issue Mar 26, 2014 · 0 comments · Fixed by #6709
Closed

DBAPI 2.0 broken when using dictionary as parameters #6708

ghost opened this issue Mar 26, 2014 · 0 comments · Fixed by #6709
Labels
Bug IO SQL to_sql, read_sql, read_sql_query
Milestone

Comments

@ghost
Copy link

ghost commented Mar 26, 2014

The function pandas.io.sql._convert_params assume that the parameters are passed as a list. However the DBAPI2.0 specify that the parameters can be a list or a mapping. This is a regression compared to the current stable version 0.13.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO SQL to_sql, read_sql, read_sql_query
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants