Access Data

andrea_brandber
andrea_brandber New Altair Community Member
edited November 5 in Community Q&A

Hello,

i have this data:

Index  Open High

1        4         5

2        6         7

3        8        9

Now i want to generate a new Attribute like

          Open[2] - High[1]

In words: I want access data in a Row before, not in the same Row, like Open-High.

 

Is there a Array-Operator so i can access the data before?

 

Tank you verry much!

 

Best Regars,

 

Andrea

 

 

Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Dear Andrea,

     

    The operator Lag from Time Series extension is able to shift the examples by n. Afterwards youi can go for a Generate Attributes.

     

    ~Martin