ebmdatalab / datalab-pandas

Useful pandas library stuff
MIT License
2 stars 2 forks source link

Support caching using zipped CSVs #25

Closed evansd closed 4 years ago

evansd commented 4 years ago

Previously, using a line like:

bq.cached_read(sql, csv_path='ghost_generics.zip',use_cache=True)

would blow up with the error BadZipFile: File is not a zip file when attempting to read the cached file.