[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: |
Tue, 18 Apr 2017 16:04:26 -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 #10, bug #50813 (project octave):
@JWE:
AFAICT importdata() invokes dlmread once it knows the delimiter so it
shouldn't be that slow.
IMO user-convenience functions like importdata.m quickly tend to turn into
dinosaurs with a lot of built-in guesswork (or if you really want, AI :-) ).
I think attempts to mimick this guesswork/AI is a nice job for a real
hobbyist; maybe we shouldn't pursue this too much.
Looking at Octave's code I see a lot of opportunities for misinterpretation of
the header line. E.g., when one of more of the column headers comprises just
digits.
The line of hyphens is skipped because it is fed to str2double that returns a
NaN (IOW, not numeric data) and then the line is added to the headerlines
collection.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50813>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/16
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Mike Miller, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Marc Dirix, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Mike Miller, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, John W. Eaton, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/18
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #50813] importdata returns cell-of-strings instead of struct, Philip Nienhuis, 2017/04/23