Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
capacity demand_est_model_df['remaining_capacity'] = demand_est_model_df.capacity \ - demand_est_model_df.total_demand demand_est_model_df.head() Let's put this logic into a separate function since we will need it to evaluate our estimations after each iteration. import plotly.graph_objects as go