Google Cloud Platform, Vertex AI, Machine Learning, Data Science, Hands On Tutorials.
Merge with dataset and filter those with more than 1 purchase df = df.merge(recurrent_customers, left_on='user_id', right_index=True, how='inner') df = df.query('n_purchases > 1') # Fill missing values df.fillna('NA', inplace=True) target_brands = [ 'Allegra K', 'Calvin Klein', 'Carhartt', 'Hanes',