We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Even though the following is valid sql, pandasql gives an error:
pandasql
import pandasql as pdsql df1 = pd.DataFrame({ 'name': ['Joe', 'Bill', 'Bob'], 'weight': [70, 85, 75] }) q = 'select * from "df1"' print(pdsql.sqldf(q, locals()))
PandaSQLException: (sqlite3.OperationalError) no such table: df1 [SQL: 'select * from "df1"']
Removing the quotes around the table name fixes this. This makes me slightly nervous about pandasql's handling of quotes and backticks :|
The text was updated successfully, but these errors were encountered:
try: q = 'select * from df1'
Sorry, something went wrong.
No branches or pull requests
Even though the following is valid sql,
pandasql
gives an error:Removing the quotes around the table name fixes this. This makes me slightly nervous about
pandasql
's handling of quotes and backticks :|The text was updated successfully, but these errors were encountered: