Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
demand_est_model_df['remaining_capacity'] = demand_est_model_df.capacity \ - demand_est_model_df.total_demand tmp_df = demand_est_model_df.drop(['total_demand', 'capacity', 'remaining_capacity'], axis = 1) fig = px.area(tmp_df, title = '<b>Demand vs Capacity</b>', category_orders={'segment':