Untitled
Anonymous
plain_text
02/20/2023 9:13 PM
520 B
18
Indexable
user_behavior = calls_per_month\
.merge(messages_per_month, left_index=True, right_index=True, how='outer')\
.merge(sessions_per_month, left_index=True, right_index=True, how='outer')\
.merge(minutes_per_month, left_index=True, right_index=True, how='outer')\
.reset_index()\
.merge(users, how='left', left_on='user_id', right_on='user_id')\
user_behavior.head()Editor is loading...