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


Groups > comp.soft-sys.math.mathematica > #15508

Re: Import CSV can not understand string correctly

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Import CSV can not understand string correctly
Date 2013-09-22 06:24 +0000
Message-ID <l1m2fl$caq$1@smc.vnet.net> (permalink)
References <20130921083610.2A1EC6A34@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


This works for me:

data = Import["filepathname", "Table"]



Bob Hanlon




On Sat, Sep 21, 2013 at 4:36 AM, Joug Raw <jougraw@gmail.com> wrote:

>
> In my CSV file, I have string fields like 3D22 or so.
> While I imported the CSV file in mathemtaica, the 3D22 string was converted
> to number 3x10^22.
>
> How dose this happened??? How can I avoid this kind of transformation and
> keep my original string when Import a CSV file?
>
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Import CSV can not understand string correctly Bob Hanlon <hanlonr357@gmail.com> - 2013-09-22 06:24 +0000

csiph-web