Skip to content

Commit

Permalink
Disabled low memory csv import for google data retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
semohr committed Mar 11, 2021
1 parent c1f22bb commit 6e98adf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions covid19_inference/data_retrieval/_Google.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, auto_download=False):
"""
Kwargs for pandas read csv
"""
kwargs = {"low_memory": False} # Surpress warning
# kwargs = {"low_memory": False} # Surpress warning

"""
If the local file is older than the update_interval it gets updated once the
Expand All @@ -70,7 +70,6 @@ def __init__(self, auto_download=False):
url_csv,
[_data_dir_fallback + "/" + name + "_fallback.csv.gz"],
update_interval,
**kwargs,
)

if auto_download:
Expand Down

0 comments on commit 6e98adf

Please sign in to comment.