Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75339 > unrolled thread

Load a CSV with different row lengths

Started byRyan de Vera <ryan.devera.03@gmail.com>
First post2014-07-29 01:15 -0400
Last post2014-07-29 01:15 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Load a CSV with different row lengths Ryan de Vera <ryan.devera.03@gmail.com> - 2014-07-29 01:15 -0400

#75339 — Load a CSV with different row lengths

FromRyan de Vera <ryan.devera.03@gmail.com>
Date2014-07-29 01:15 -0400
SubjectLoad a CSV with different row lengths
Message-ID<mailman.12405.1406618878.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

I am trying to load a csv with different row lengths. For example,

I have the csv

a,b
a,b,c,d
a,b,c

How can I load this into python? I tried using both NumPy and Pandas.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web