SHARE
TWEET

Untitled

jessking1019 Jan 28th, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pandas as pd
  2. logs = pd.read_csv('/datasets/logs.csv')
  3. unique_emails = logs['email'].unique()
  4. print('Unique email addresses:', len(unique_emails))
  5. unique_user_id = logs['user_id'].unique()
  6. print('Unique user IDs:', len(unique_user_id))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top