bugGNU Octave - Bugs: bug #50448, [octave forge] (dataframe)...

 
 

bug #50448: [octave forge] (dataframe) problems with empty fields

Submitter:  Andreas Weber <andy1978>
Submitted:  Fri 03 Mar 2017 07:02:59 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 03 Mar 2017 07:02:59 PM UTC, original submission:  

dataframe 1.1.0

Consider following file "afile":

string1;int1;string2;string3
a;1;hello;
b;2;world;huhu


if read there is an error:

d=dataframe("afile", "sep", ";");
Something went wrong while converting colum 4
Error was: cell2mat: wrong type elements or mixed cells, structs, and matrices
stopped in /home/andy/octave/dataframe-1.1.0/@dataframe/private/df_matassign.m at line 357
357:           keyboard;


if the int colum is removed so that "afile" reads

string1;string2;string3
a;hello;
b;world;huhu


the first column isn't read:

> dataframe("afile", "sep", ";")
ans = dataframe with 1 rows and 3 columns
Src: afile
_1 string1 string2 string3
Nr    char    char    char
 1       b   world    huhu




Andreas Weber <andy1978>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by andy1978 (Adding package maintainer)
  • -email is unavailable- added by andy1978 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-12 jwe Summaryof-dataframe: problems with empty fields [octave forge] (dataframe) problems with empty fields
    2017-03-03 andy1978 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code