text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/hackerearth-love-in-the-time-of-screens/data.csv')

user_id = df['user_id']

data = pd.DataFrame()

data.shape

data.set_index(user_id, inplace=True)

data.head()