[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58328] importdata detects incorrectly column
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58328] importdata detects incorrectly column headers |
Date: |
Thu, 7 May 2020 14:47:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58328 (project octave):
Item Group: Incorrect Result => Matlab Compatibility
Status: None => Confirmed
Release: 5.2.0 => dev
_______________________________________________________
Follow-up Comment #1:
Bringing in comments from bug #58293.
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/?58328>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/