/pd_read_sql_query2.py Secret
Created
November 24, 2019 22:55
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# don't do this | |
pd.read_sql_query('select * from table1', conn) | |
# do this | |
pd.read_sql_query('select field1, field2, field3 from table1', conn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment