In this post, we will go through a process to analyze the WhatsApp chat using python. We will use the data from the WhatApp chat text file of a particular chat for analysis. Here, we are going to analyze the WhatsApp chat of a group named "Jujube Enterprises". Obtain .txt data file from WhatsApp: Open WhatsApp and go to the chat. Export the chat without media. Exported chat from the Group "Jujube Enterprises" is a text file with .txt extension which holds the chat information. The file renamed as "jujube.txt" has data in the format: jujube.txt Required Libraries: Data Frame generation from jujube.txt: We will generate dataframe df using the data from jujube.txt file. The data in the file is to be extracted and used in a way that we can get a data frame with columns: Date, Time, User and Message. Now we have the data frame, lets check for the unique users in the chat. There are few messages that has None value as User, we need to remove the None. We ...