Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75339
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ryan.devera.03@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.102 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.80; '*S*': 0.01; 'csv': 0.16; 'numpy': 0.16; 'subject:CSV': 0.16; 'trying': 0.19; 'python?': 0.22; 'load': 0.23; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.30; 'subject:with': 0.35; 'received:google.com': 0.35; 'example,': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'different': 0.65; 'subject:Load': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=olfp1QXr1cdurI0XRzkZ6hSmy0awGValUJuZkevR7ho=; b=Gx6CsHCln8Y3c3Fomvd9UQbdvYzi2ScY2Q7Luzywta2xJASCWcbHrJKj9E3X2WPqAV dqoMJTijU3LUmTPE/anD54YUqP7IrZriSpMFwt7ENqHjwTb8AJlcZFOhQRZX6HwR8MCH 521Jz3L+xeA5ISd+xnNRSRVVKdZ8cUvMqm7X25og6+fUEFOVi9yym8d6kwyUSllC0jth O3igc5ce9h8gG8xIoT92sF+wUEzPeWCv6EI8e5xigEW+VgLl0ggt+D9oIMsPAvAdAVv+ R9nySdd/7t+pDiSr4j+UgCBuFTaYkZjCsHminBbL1qfdfM5GM3DUEdKjyOzU+PU1qlh0 IhBw== |
| MIME-Version | 1.0 |
| X-Received | by 10.182.112.134 with SMTP id iq6mr55056124obb.34.1406610937019; Mon, 28 Jul 2014 22:15:37 -0700 (PDT) |
| Date | Tue, 29 Jul 2014 01:15:36 -0400 |
| Subject | Load a CSV with different row lengths |
| From | Ryan de Vera <ryan.devera.03@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e0149cf603d020904ff4e21f7 |
| X-Mailman-Approved-At | Tue, 29 Jul 2014 09:27:57 +0200 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12405.1406618878.18130.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1406618878 news.xs4all.nl 2863 [2001:888:2000:d::a6]:58340 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75339 |
Show key headers only | View raw
[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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Load a CSV with different row lengths Ryan de Vera <ryan.devera.03@gmail.com> - 2014-07-29 01:15 -0400
csiph-web