open_zip_reader

open_zip_reader(path: str | Path, inner_path: str, delimiter: str = '\t', **kwargs: Any) Generator[Reader, None, None][source]

Read an inner CSV file from a zip archive.

Parameters:
  • path – The path to the zip archive

  • inner_path – The path inside the zip archive to the CSV

  • delimiter – The separator in the CSV. Defaults to tab.

  • kwargs – Additional kwargs to pass to csv.reader().

Returns:

A reader over the file