Skip to content

Instantly share code, notes, and snippets.

@debboutr
Created July 18, 2017 18:34
Show Gist options
  • Select an option

  • Save debboutr/ef6c04a24c19583cd7668dd1cf6a943d to your computer and use it in GitHub Desktop.

Select an option

Save debboutr/ef6c04a24c19583cd7668dd1cf6a943d to your computer and use it in GitHub Desktop.
load a zipped csv directly into a pandas DF w/o unzipping
pd.read_csv('./COMID_HydroRegion.zip', compression='infer', sep=',',dtype={'COMID':int,'VPU':str})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment