I have a Pandas DataFrame of the type:
1 2 3 4
1 2 5 6
...
I have a list of functions of the same length as one of the rows, for example,
a = lambda x: x**2
b = lambda x: x**3
c = lambda x: x
d = lambda x: x+1
funcs = [a,b,c,d]
If applied to the DataFrame above it should output
1 8 3 5
1 8 5 7
...
Is there a simple way to do this?