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


Groups > comp.lang.python > #77898

Re: CSV methodology

From jayte <jetrn@newsguy.com>
Newsgroups comp.lang.python
Subject Re: CSV methodology
Date 2014-09-15 12:53 -0400
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <uk5e1a9qpnc3tpako2khqao5bqmssuk4bq@4ax.com> (permalink)
References <b2q91ada6b59ept81ac65vtnnu6sdklp1h@4ax.com> <mailman.14025.1410787674.18130.python-list@python.org>

Show all headers | View raw


On Mon, 15 Sep 2014 09:29:48 -0400 (EDT), Dave Angel <davea@davea.name> wrote:

[...]

>Looks to me like your MXP has produced a single line file, with
> all the values on that single line separated by commas.

Yes, that's exactly right.

> If the
> data is really uniform,  then it'd be more customary to put one
> item per line. But your sample seems to imply the data is a float
> followed by 3 ints. If so, then I'd expect to see a line for each
> group of 4.

See, that's why I figured there was something I was missing with
regard to csv files, in general.  Specifically, what the end-of-line
character would be;  traditional CR/LF pair, or... something else.

>The only advantage of a csv is if the data is rectangular.  If
> it's really a single column, it should be one per line,  and
> you'd use readline instead. 

Thank you very much for your input.

Jeff

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

CSV methodology jetrn@newsguy.com - 2014-09-13 21:34 -0400
  Re: CSV methodology kjs <bfb@riseup.net> - 2014-09-14 02:51 +0000
  Re: CSV methodology Terry Reedy <tjreedy@udel.edu> - 2014-09-14 03:02 -0400
    Re: CSV methodology jayte <jetrn@newsguy.com> - 2014-09-14 12:56 -0400
      Re: CSV methodology Chris Angelico <rosuav@gmail.com> - 2014-09-15 03:10 +1000
      Re: CSV methodology Terry Reedy <tjreedy@udel.edu> - 2014-09-14 14:42 -0400
        Re: CSV methodology jayte <jetrn@newsguy.com> - 2014-09-14 16:19 -0400
      Re: CSV methodology Peter Otten <__peter__@web.de> - 2014-09-15 09:29 +0200
        Re: CSV methodology jayte <jetrn@newsguy.com> - 2014-09-15 12:33 -0400
          Re: CSV methodology Peter Otten <__peter__@web.de> - 2014-09-16 13:22 +0200
            Re: CSV methodology jayte <jetrn@newsguy.com> - 2014-09-16 14:03 -0400
            Works perfectly (was Re: CSV methodology) jayte <jetrn@newsguy.com> - 2014-09-22 20:27 -0400
              Re: Works perfectly (was Re: CSV methodology) Peter Otten <__peter__@web.de> - 2014-09-23 09:59 +0200
  Re: CSV methodology Cameron Simpson <cs@zip.com.au> - 2014-09-14 18:38 +1000
    Re: CSV methodology Rustom Mody <rustompmody@gmail.com> - 2014-09-14 01:56 -0700
      Re: CSV methodology Cameron Simpson <cs@zip.com.au> - 2014-09-15 09:28 +1000
  Re: CSV methodology Akira Li <4kir4.1i@gmail.com> - 2014-09-15 11:12 +0400
    Re: CSV methodology pH <high@cidity.level> - 2014-09-15 12:40 -0400
  Re:CSV methodology Dave Angel <davea@davea.name> - 2014-09-15 09:29 -0400
    Re: CSV methodology jayte <jetrn@newsguy.com> - 2014-09-15 12:53 -0400

csiph-web