Skip to main content

Produce a csv.DictReader without specifying the column names

Project description

Make a csv.DictReader without specifying the column names.

import smart_csv_dictreader
# https://raw.githubusercontent.com/tlevine/comparing-wifi-usage/master/data/chicago.csv
chicago = smart_csv_dictreader.DictReader(open('chicago.csv'))
print(next(chicago))
{'CUMULATIVE NUMBER OF SESSIONS': '22263',
 'MONTH': 'January',
 'NUMBER OF SESSIONS': '22263',
 'YEAR': '2011'}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smart_csv_dictreader-0.0.2.tar.gz (1.1 kB view details)

Uploaded Source

File details

Details for the file smart_csv_dictreader-0.0.2.tar.gz.

File metadata

File hashes

Hashes for smart_csv_dictreader-0.0.2.tar.gz
Algorithm Hash digest
SHA256 079a316d68a0e95c8bcd890c095f24652628d445de400c7a8a97cf6fcb7e4229
MD5 6be030e88ca4d2afa78ec64161165bde
BLAKE2b-256 c3ca009bd17ec31791d41289adb9c7cbee33cff259ece161ae4d3da121add65a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page