Created
September 29, 2020 20:42
-
-
Save anna-anisienia/68191aabb8982048d47f97b33f47ced1 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
import pandas as pd | |
from mysql_conn import get_mysql_conn | |
with get_mysql_conn(db='mytestdb') as conn: | |
df = pd.read_sql('SELECT * FROM mytable', conn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment