Task: Parse CSV String with Python csv.DictReader
Task: Parse CSV String with Python csv.DictReader: a task in Terminal-Lego-15k (Harbor dataset). When downloading CSV content directly from a URL using the requests library, you receive the data as a string. The csv.DictReader class expects a file-like object or an iterable that yields lines, not…
The task
When downloading CSV content directly from a URL using the `requests` library, you receive the data as a string. The `csv.DictReader` class expects a file-like object or an iterable that yields lines, not a raw string.
Part of PrimeIntellect/Terminal-Lego-15k.