Skip to content

Instantly share code, notes, and snippets.

@j-bennet
Created Nov 25, 2019
Embed
What would you like to do?
# don't do this
pd.read_sql_query("select field1, field2, field3 from table1")
# do this
pd.read_sql_query("select field1, field2, field3 from table1 limit 1000")
# or this
pd.read_sql_query("select field1, field2, field3 from table1 where field1 = 'category1'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment