[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54029] "Name" is read as Na by dlmread (and b
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #54029] "Name" is read as Na by dlmread (and by xlsread) in csv file |
Date: |
Thu, 14 Jun 2018 07:41:03 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #3, bug #54029 (project octave):
Matlab (2016b):
>> x = dlmread ('nan.csv')
Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1) ==>
a,b,NaN,c\n
>> x = dlmread ('nane.csv')
Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1) ==>
a,b,NaNe,c\n
>> x = csvread ('nan.csv')
Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1) ==>
a,b,NaN,c\n
Error in csvread (line 48)
m=dlmread(filename, ',', r, c);
>> x = xlsread ('nan.csv')
x =
1 2 3 4
5 6 7 8
>> x = xlsread ('nane.csv')
x =
1 2 3 4
5 6 7 8
Octave 4.4.0:
>> x = dlmread ('nan.csv')
x =
0 0 NaN 0
1 2 3 4
5 6 7 8
>> x = dlmread ('nane.csv')
x =
0 0 NaN 0
1 2 3 4
5 6 7 8
>> x = csvread ('nan.csv')
x =
0 0 NaN 0
1 2 3 4
5 6 7 8
>> x = xlsread ('nan.csv')
x =
0 0 NaN 0
1 2 3 4
5 6 7 8
>> x = xlsread ('nane.csv')
x =
0 0 NaN 0
1 2 3 4
5 6 7 8
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54029>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/