Price Elasticity, Price Optimization, Price Analysis, Python, Regression.
np.power(price,elasticity1) revenue1 = price * demand1 max_revenue1 = np.max(revenue1) max_index1 = np.argmax(revenue1) price[max_index1] data1 = {'Price': price, 'Revenue': revenue1, 'Quantity': demand1} price_df1 = pd.DataFrame(data1) #add -2 perpectly elastic elasticity2 = -2 price =