Task: Apply GZIP Compression to a CSV in Python Pandas
Task: Apply GZIP Compression to a CSV in Python Pandas: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that correctly creates a gzip-compressed CSV file from a pandas DataFrame. The script should produce an actual gzip archive, not just a regular CSV file with a…
The task
You need to write a Python script that correctly creates a gzip-compressed CSV file from a pandas DataFrame. The script should produce an actual gzip archive, not just a regular CSV file with a `.gz` extension.
Part of PrimeIntellect/Terminal-Lego-15k.