Re: Bug in Import?
- To: mathgroup at smc.vnet.net
- Subject: [mg54800] Re: Bug in Import?
- From: Peter Pein <petsie at arcor.de>
- Date: Wed, 2 Mar 2005 01:26:46 -0500 (EST)
- References: <cvum3g$bmp$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Mark Fisher 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.
>
Mark,
WRI made a really convenient help file.
Import["test.tsv",ConversionOptions->{"Numeric"->False}]
--
Peter Pein
Berlin
- Follow-Ups:
- Re: Re: Bug in Import?
- From: DrBob <drbob@bigfoot.com>
- Re: Re: Bug in Import?