2021年3月9日星期二

Issue while accessing data from Octave dataframe

I am trying to access data from a dataframe in Octave which satisfy some criterias.

Let us say dataframe name is A with comulns 'Date' and 'Close Price'.

Let us say we intend to access Close prices when Close Price was less than 5.

I am using the command:

A.Close(A.Close<5)

I am getting the following error:

error: subsref.m querying name Close returned positions 5 subsref.m querying name returned positions

I see an instruction video in youtube, where same command is used but no error showed up.

https://stackoverflow.com/questions/66557375/issue-while-accessing-data-from-octave-dataframe March 10, 2021 at 10:05AM

没有评论:

发表评论