Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
Now, we can aggregate this data and calculate the remaining capacity. capacity = 1000 demand_est_model_df = raw_demand_est_model_df.pivot(index = 'date', columns = 'segment', values = 'users') demand_est_model_df['total_demand'] = demand_est_model_df.sum(axis = 1) demand_est_model_df['capacity'] =