Data frames are provided:
a = pd.DataFrame({'A':[1, 2]})
b = pd.DataFrame({'B':[2, 3]})
C = pd.DataFrame({'C':[4, 5]})
and list d = [A, C, B, B]
How to write an mathematical operations (((A + C) * B) - B) on frame values to create a new data frame?
The result is, for example, a frame in the form:
e = pd.DataFrame({'E':[8, 18]})
(a.A + C.C) * b.B - b.Bquite simply.((A * B) * C) * A)and so on. Because in that solution the code gives separate solutions for each element, comparing them still to the first one :)