MathGroup Archive 2005

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

Search the Archive

Re: Bug in Import?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54806] Re: Bug in Import?
  • From: virgilio at ieee.org
  • Date: Wed, 2 Mar 2005 01:26:53 -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.

Hi Mark,

FWIW, on v5.0, I can't reproduce your problem yet.  Here is what I get:


In[1]:=
Export["test.tsv",
     {{"2005-01-24", "2005-02-14"},
     { "2005-01-24", "2005-02-14"}}]
Out[1]=
test.tsv

In[2]:=
!!test.tsv
>From In[2]:=
2005-01-24	2005-02-14
2005-01-24	2005-02-14

In[3]:=
Import["test.tsv"]
Out[3]=
{{2005-01-24,2005-02-14},{2005-01-24,2005-02-14}}

In[4]:=
$Version
Out[4]=
5.0 for Microsoft Windows (June 10, 2003)


Vince Virgilio


  • Prev by Date: Windows version 5.1.1 font bug?
  • Next by Date: Re: Re: Bug in Import?
  • Previous by thread: Re: Re: Bug in Import?
  • Next by thread: Re: Re: Bug in Import?