
Want to read a zipped CSV file into a Python Pandas data frame: Just pass the filename to read_csv:
df = pd.read_csv('data.zip')
The file can contain a single CSV file, with an extension of .gz, .bz2, .zip, .xz, .zst, .tar, .tar.gz, .tar.xz, or .tar.bz2.
