For this Question: Count the total number of distinct conversations on WhatsApp. Two users share a conversation if there is at least 1 message between them. Multiple messages between the same pair of users are considered a single conversation.DataFrame/SQL Table with the following schema -
<schema>[{'name': 'whatsapp_messages', 'columns': [{'name': 'message_id', 'type': 'int64'}, {'name': 'message_date', 'type': 'datetime64[ns]'}, {'name': 'message_time', 'type': 'datetime64[ns]'}, {'name': 'message_sender_id', 'type': 'object'}, {'name': 'message_receiver_id', 'type': 'object'}]}]</schema>Each row in a new line and each value of a row separated by a |, i.e.,
0|1|2
1|2|3
2|3|4-, I have written this Solution Code: 
df = whatsapp_messages.groupby(['message_sender_id','message_receiver_id']).count()
print(df.shape[0]- len(whatsapp_messages['message_sender_id'].unique())), In this Programming Language: Python, Now tell me if this Code is compilable or not?