Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107728
| From | Sibylle Koczian <nulla.epistola@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: how to create a dictionary from csv file? |
| Date | 2016-04-27 17:37 +0200 |
| Message-ID | <mailman.151.1461771461.32212.python-list@python.org> (permalink) |
| References | <246c571e-1793-4aa6-9405-19d7a1355598@googlegroups.com> <eb424848-fcb2-4973-b48f-be1a849cfc58@googlegroups.com> <b85c5dab-41c6-ff3e-1deb-75cd9c179804@web.de> <nfq0so$kaa$1@ger.gmane.org> <d955d54a-e752-6d98-20cd-d5a90c1d24d7@web.de> |
Am 27.04.2016 um 11:31 schrieb Peter Otten: > Sibylle Koczian wrote: > >> And if the csv module is used anyway, why not simply read into a >> DictReader? > > How would that help with looking up 3.5 by "apple" given the OP's sample > data > > banana,4.0 > apple,3.5 > orange,3.0 > Quite right, it wouldn't. Misread the problem, sorry.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to create a dictionary from csv file? "+dime+" <donald.ng@gmail.com> - 2016-04-26 07:18 -0700
Re: how to create a dictionary from csv file? Peter Otten <__peter__@web.de> - 2016-04-26 16:40 +0200
Re: how to create a dictionary from csv file? justin walters <walters.justin01@gmail.com> - 2016-04-26 07:51 -0700
Re: how to create a dictionary from csv file? Tim Chase <python.list@tim.thechases.com> - 2016-04-26 09:36 -0500
Re: how to create a dictionary from csv file? Hasan Diwan <hasandiwan+usenet@gmail.com> - 2016-04-27 00:36 +0000
Re: how to create a dictionary from csv file? jfong@ms4.hinet.net - 2016-04-26 19:42 -0700
Re: how to create a dictionary from csv file? Sibylle Koczian <nulla.epistola@web.de> - 2016-04-27 11:10 +0200
Re: how to create a dictionary from csv file? Peter Otten <__peter__@web.de> - 2016-04-27 11:31 +0200
Re: how to create a dictionary from csv file? Sibylle Koczian <nulla.epistola@web.de> - 2016-04-27 17:37 +0200
Re: how to create a dictionary from csv file? Sibylle Koczian <nulla.epistola@web.de> - 2016-04-27 17:37 +0200
csiph-web