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

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

[Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings ins


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct
Date: Sun, 23 Apr 2017 07:31:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Follow-up Comment #11, bug #50813 (project octave):

If no one beats me to it, I'll have a look in the coming weeks.

I think the delimiter assessment code, currently acting on the header lines if
these are present, ultimately should be based on the purely numeric section.
This implies some fseek-ing hence and forth, but I suppose the required
execution time for that is peanuts compared to reading (large amounts of)
numeric data further on.
I also have a basic idea on how to deal with column headers comprising units
enclosed in parens or brackets separated by whitespace, once the delimiter
assessment works reliably.  But I won't try AI here :-), just basic guesswork
and if that fails just return cellstr.

(Just wondering what to do if row headers are also present...)


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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