You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2026. It is now read-only.
And query.sql is an external .SQL file located in the same directory as my notebook. I thought the code above will run the external SQL file and store the result in df_final, but instead I got an error that said: TypeError: expected string or bytes-like object
Hello there,
I wanted to do a data transformation in SQL using pandasql and store the query result to
df_final. This is the code I used:And
query.sqlis an external .SQL file located in the same directory as my notebook. I thought the code above will run the external SQL file and store the result indf_final, but instead I got an error that said:TypeError: expected string or bytes-like objectHow should I solve this issue? Thanks in advance!