I know this is a bad one. I really want to know if this is possible to do in python so I have two strings with arithmetic equation now I want to place them inside a df[ ]. df is a data frame Is this possible to do?
X = "'cars'+'bikes'*'planes'"
Now this should be placed like this below
X = df['cars']+df['bikes']*df['planes']
If possible how to do it?