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

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

[Octave-bug-tracker] [bug #58293] importdata doesn't like empty header l


From: Rik
Subject: [Octave-bug-tracker] [bug #58293] importdata doesn't like empty header lines
Date: Thu, 7 May 2020 13:59:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #6, bug #58293 (project octave):

Why don't you open up a new bug report that is on the correct topic.

For reference, Matlab does not recognize column headers unless they use the
correct delimiter

So,


HeaderB
1,2,3


results in textdata being equal to "HeaderB", no colheaders output, and data
field of [1 2 3].

Only if the delimiter and the number of fields match does Matlab assign
colheaders, rather than textdata.  For example,


HeaderA HeaderB HeaderC
1,2,3


doesn't produce colheaders because the delimiter isn't a ','.

Also,


HeaderA,HeaderB
1,2,3


doesn't work because the delimiter is correct, but there aren't three text
elements.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58293>

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




reply via email to

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