I have a dataframe with 4 columns . The dataframe looks like this:
date sell price cost price discount
2019-10-13 2000 2000 0
2019-10-21 3000 3000 0
I need to find the total sum and average of 2 columns cost price and sell price. The output should be like:
total avg
sell price 5000 2500
cost price 5000 2500
How can I get this?