Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
beginning of April 2023. We've already forecasted demand from new users, so we don't need to consider them in this estimation. model_existing_users = df[df.date < '2023-04-02'].user_id.unique() raw_existing_df = df[df.user_id.isin(model_existing_users)] Then, we need to model the demand from these