help-octave
[Top][All Lists]
Advanced

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

Re: fillmissing


From: Andrew Janke
Subject: Re: fillmissing
Date: Sat, 13 Jun 2020 17:52:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1



On 6/13/20 5:36 PM, Juan Pablo Carbajal wrote:
On Sat, Jun 13, 2020 at 11:35 PM Juan Pablo Carbajal
<ajuanpi+dev@gmail.com> wrote:

2) I think "no": recently, Octave has been focused on Matlab
compatibility, and Matlab does not define a NA value. Some other
programming languages do – in that case, NA, is a distict subset of the
NaN values defined by IEEE 754. But that is language-specific, and
neither IEEE 754 itself nor Matlab define NA, so I'm guessing Octave
would not be interested in implementing that.

I am not sure I understand the answer but Octave has NA values, and
NaN values,  since long. Check
NA(3,2)
ans =

     NA    NA
     NA    NA
     NA    NA

and the logic of NA values is consistent with missing data
https://octave.org/doc/interpreter/Missing-Data.html#Missing-Data

BTW, pandas has implemented NA since version 1.0
https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html

Ha! This is news to me. I guess Octave has joined the family of languages that defines a NA. Guess I was wrong about what the Octave developers' answer would be here.

Cheers,
Andrew



reply via email to

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