diff --git a/dataload/08_run_queries/csvs_to_sqlite.py b/dataload/08_run_queries/csvs_to_sqlite.py index 25bf31b..dd85edc 100644 --- a/dataload/08_run_queries/csvs_to_sqlite.py +++ b/dataload/08_run_queries/csvs_to_sqlite.py @@ -12,7 +12,7 @@ def main(): conn = sqlite3.connect(args.out_sqlite_path) - for csv in glob.glob("*.csv"): + for csv in glob.glob("*.csv.gz"): df = pd.read_csv(csv) df.to_sql(csv.replace(".csv", ""), conn)