hi just new to this course:
is it possible to join two dataframes to form a new dataframe and compare
each element by df.column to find the difference and assign the logical
value for indexing? eg.
df1= df2 dfNew=
c b p c b p c1 c2 b1 b2 p1 p2 diff
newcol logical
01 aa 100 01 aa 110 01 01 aa aa 100 110 10
0
02 bb 200 02 bb 200 02 02 bb bb 200 200 0
1
03 cc 300 na na na 03 na cc na 300 na 300
0
na na na 04 dd 50 na 04 na dd na 50 50
0
how am i going do it in octave or is there any wiser solution for these?
thanks in advance.