octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54029] "Name" is read as Na by dlmread (and b


From: Rik
Subject: [Octave-bug-tracker] [bug #54029] "Name" is read as Na by dlmread (and by xlsread) in csv file
Date: Tue, 12 Jun 2018 13:49:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #54029 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
              Item Group:        Unexpected Error => Inaccurate Result      
                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

Marking as confirmed, but lowering the priority since there are easy
workarounds.  dlmread is only to be used for numeric data.  The first line of
'aa.csv' is text and should be skipped entirely by specifying a range to
dlmread which excludes the first line.

How does Matlab handle this example file ('nan.csv')?


a,b,NaN,c
1,2,3,4
5,6,7,8


followed by


x = dlmread ('nan.csv')


How does Matlab handle this second example file ('nane.csv')?


a,b,NaNe,c
1,2,3,4
5,6,7,8


followed by


x = dlmread ('nane.csv')




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54029>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]