Menu

Who Replies Faster? Measuring WhatsApp Response Times with Python
📰

Who Replies Faster? Measuring WhatsApp Response Times with Python

DEV Community: tutorial·Selen Sherlock·about 14 hours ago
#5cK6064I
#devtotutorial#devto#dev#person#sender
Reading 0:00
15s threshold

Message counts tell you who writes more. They do not tell you how quickly someone answers. To study that, you need timestamps and a rule for deciding which gaps count.

This example uses a one-to-one chat and measures the gap when the speaker changes. It is a practical approximation: even in a two-person chat, the next message may start a different topic. In a group, it becomes a next-speaker gap; you cannot reliably identify a reply's recipient from message order alone.

1. Prepare the CSV

If the conversation is in WhatsApp Web, WAExport's WhatsApp chat export can download it as CSV. Choose one conversation and the period you want to compare. Keep a copy of the original before preparing the analysis file.

Prepare a UTF-8 CSV with the three columns below.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.