Data Science, Causal Inference, Machine Learning, Optimization, Notes From Industry.
df_scoring_2['T'].mean() + df_scoring_3['T'].mean()) * 0.80 # Dictionary with min and max bounds for each product - set as +/-20% of max/min discount budget_ranges = {"product_1": [df_scoring_1['T'].min() * 0.80, df_scoring_1['T'].max() * 1.2], "product_2": [df_scoring_2['T'].min() * 0.80,