# Chatbot and Live Chat Logs ## Dataset Description Text-based customer interactions with chatbots and support agents ## Dataset Information - **Category**: Customer Experience and Sentiment - **Format**: CSV, Parquet - **Rows**: 400,000 - **Columns**: 14 - **Date Generated**: 2025-10-05 - **Location**: `data/chatbot_and_live_chat_logs/` ## Schema | Column | Type | Sample Values | |--------|------|---------------| | `session_id` | String | CHAT00000001 | | `session_start` | Datetime | 2025-09-16 06:01:00 | | `session_end` | Datetime | 2025-09-16 06:02:47 | | `duration_seconds` | Integer | 107 | | `customer_id` | String | CUST5465481 | | `operator` | String | MTN | | `channel` | String | whatsapp | | `intent` | String | port_number | | `handled_by` | String | bot | | `escalated_to_human` | Boolean | False | | `message_count` | Integer | 14 | | `resolved` | Boolean | True | | `customer_satisfaction` | Integer | 5 | | `language` | String | english | ## Sample Data ``` session_id session_start session_end duration_seconds customer_id operator channel intent handled_by escalated_to_human message_count resolved customer_satisfaction language CHAT00000001 2025-09-16 06:01:00 2025-09-16 06:02:47 107 CUST5465481 MTN whatsapp port_number bot False 14 True 5 english CHAT00000002 2025-09-03 00:38:00 2025-09-03 00:42:49 289 CUST7117483 Airtel app port_number bot False 21 True 5 english CHAT00000003 2025-09-09 01:23:00 2025-09-09 01:36:55 835 CUST4948915 MTN app port_number human True 6 True 3 english ``` ## Nigerian Context This dataset incorporates authentic Nigerian telecommunications characteristics: - **Geographic Coverage**: Major Nigerian cities including Lagos, Abuja, Kano, Port Harcourt, Ibadan - **Operators**: MTN, Airtel, Glo, 9mobile with realistic market shares - **Phone Numbers**: Nigerian format (+234 prefixes) - **Currency**: Nigerian Naira (NGN) - **Time Zone**: West Africa Time (WAT, UTC+1) - **Network Types**: 2G, 3G, 4G, 5G distribution ## File Formats ### CSV ``` data/chatbot_and_live_chat_logs/chatbot_and_live_chat_logs.csv ``` ### Parquet (Recommended) ``` data/chatbot_and_live_chat_logs/chatbot_and_live_chat_logs.parquet ``` ## Loading the Dataset ### Python (Pandas) ```python import pandas as pd # Load CSV df = pd.read_csv('data/chatbot_and_live_chat_logs/chatbot_and_live_chat_logs.csv') # Load Parquet (recommended for large datasets) df = pd.read_parquet('data/chatbot_and_live_chat_logs/chatbot_and_live_chat_logs.parquet') ``` ### Python (PyArrow) ```python import pyarrow.parquet as pq # Load Parquet table = pq.read_table('data/chatbot_and_live_chat_logs/chatbot_and_live_chat_logs.parquet') df = table.to_pandas() ``` ## License MIT License - For educational and research purposes ## Citation ``` Nigerian Telecom Datasets - Chatbot and Live Chat Logs Generated: 2025-10-05 Category: Customer Experience and Sentiment Rows: 400,000 ``` ## Related Datasets This dataset is part of the Nigerian Telecom Datasets collection, which includes 34 datasets covering network performance, customer behavior, financial transactions, infrastructure, geospatial data, customer experience, and emerging technologies.