(sales["Current_Price"] * sales["Quantity"]).sum() / sales["Quantity"].sum() (sales["New_Product_Price"] * sales["Quantity"]).sum() / sales["Quantity"].sum()