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
Hi,
I noticed that the SQL renaming clause AS doesn't work if there are no operations on those columns, AS renaming wouldn't work. e.g.
SELECT TRIM(COL_A) AS NEW_COL_A, COL_B AS NEW_COL_B
we will end up with a dataframe has header as NEW_COL_A and COL_B. Has anyone else encountered the same issue before?
query="""<SQL query>""" df = pd.read_sql(query, db_conn) # db_conn is the database instance I set up via jaydebeapi
Thanks in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I noticed that the SQL renaming clause AS doesn't work if there are no operations on those columns, AS renaming wouldn't work.
e.g.
we will end up with a dataframe has header as NEW_COL_A and COL_B. Has anyone else encountered the same issue before?
Thanks in advance!
The text was updated successfully, but these errors were encountered: