Created
May 12, 2021 17:44
-
-
Save pimlock/05beabb53cf5c8065090f2c981488f3e 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 sqlite3 | |
con = sqlite3.connect("2016-olympics-medals.db") | |
try: | |
df_sql = pd.read_sql_query("SELECT * FROM medals", con) | |
df_sql.info() | |
finally: | |
con.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment