Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
existing_model_df.reset_index()[['date', 'existing_users']]\ .rename(columns = {'existing_users': 'users'}) existing_model_df['segment'] = 'existing' # new segment new_model_df = new_forecast_df.reset_index()[['cohort', 'new_users_model']]\ .rename(columns = {'cohort': 'date', 'new_users_model':