MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug in Import?


That seems bizarre.

The CSV, DAT, and Table formats duplicate your TSV results, but Text format gives identical rows. It's probably the wrong format for some external program you had in mind, of course.

Bobby

On Mon, 28 Feb 2005 03:27:49 -0500 (EST), Mark Fisher <mark at markfisher.net> wrote:

> (1) I export a data set that has two identitcal rows.
> (2) I use "!!" to display the stored file, showing that it contains two
> identical rows.
> (3) I import the file, the result of which does *not* have two identical
> rows: The first row is different from the second row.
>
> Export["test.tsv",
>      {{"2005-01-24", "2005-02-14"},
>      { "2005-01-24", "2005-02-14"}}]
>
> !!test.tsv -->
>
> 2005-01-24    2005-02-14
> 2005-01-24    2005-02-14
>
> Import["test.tsv"] -->
>
> {{2005-01-24, 2005-02-14},
> {2005, -1, -24, 2005, -2, -14}}
>
> Surely this is a bug.
>
> (I sent this example to support at wolfram.com three weeks ago, but the
> only response I've received is that it's not a bug. Frankly, I don't
> think the tech person who responded understood the example.)
>
> I  am using version 5.1 for Windows.
>
> --Mark.
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Re: nonlinear differential equation
  • Next by Date: Re: Re: Changing Plot Axis Displays
  • Previous by thread: Re: Re: Re: Re: Re: Re: Bug in Import?
  • Next by thread: Re: Bug in Import?