Displaying 1 result from an estimated 1 matches for "price_g".
Did you mean:
price_s
2008 Jan 10
5
diff in a dataframe
I have a dataframe say:
date price_g price_s
0.34 0.56
0.36 0.76
. .
. .
. .
and so on. say, 1000 rows.
Is it possible to add two columns to this dataframe, by computing say
diff(log(price_g) and diff(log(price_s)) ?
The elemen...