Last active
February 7, 2022 22:30
-
-
Save YiLi225/f9244ea41ae805c2859dfc0c5c052404 to your computer and use it in GitHub Desktop.
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
## Read in external SQL file | |
sqlFile = open(r'...\OnlineRetailPull.sql', 'r') | |
myQuery = sqlFile.read() | |
OnlineRetailData = pd.read_sql_query(myQuery, engine) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment