Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

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


  • Prev by Date: Re: Polygons on spheres
  • Next by Date: Re: Plot3D gives serrated ridge
  • Previous by thread: Re: Re: Bug in Import?
  • Next by thread: Re: Re: Bug in Import?