Dataset Viewer
Auto-converted to Parquet
forecast_id
stringlengths
11
11
product_id
stringlengths
8
8
date
stringdate
2023-01-01 00:00:00
2024-12-01 00:00:00
historical_sales
int64
10
500
forecasted_demand
int64
10
500
actual_sales
int64
5
600
forecast_accuracy
float64
0.6
0.95
seasonality_factor
float64
0.8
1.5
trend_factor
float64
0.9
1.2
city
stringclasses
15 values
FCST0000000
PRD27967
2023-04-15
304
198
17
0.69
1.44
1.09
Kano
FCST0000001
PRD15503
2023-12-01
88
346
477
0.8
1.17
1.02
Benin City
FCST0000002
PRD35105
2024-07-31
294
86
462
0.67
0.91
0.92
Lagos
FCST0000003
PRD87836
2023-03-01
299
27
411
0.79
0.88
0.97
Port Harcourt
FCST0000004
PRD48768
2024-02-28
181
157
260
0.87
0.83
1.17
Ilorin
FCST0000005
PRD12851
2023-05-10
128
398
139
0.73
1.28
1.18
Calabar
FCST0000006
PRD89519
2024-08-20
32
464
203
0.61
0.88
0.99
Onitsha
FCST0000007
PRD84523
2023-07-07
36
330
294
0.71
1.15
1.06
Lagos
FCST0000008
PRD99393
2023-06-04
200
239
49
0.88
0.98
1.04
Jos
FCST0000009
PRD85956
2023-03-25
35
393
418
0.69
1.33
0.95
Calabar
FCST0000010
PRD33170
2024-09-03
430
467
151
0.69
1.01
1.01
Port Harcourt
FCST0000011
PRD77155
2024-07-12
72
87
296
0.69
0.81
1.18
Aba
FCST0000012
PRD57991
2024-10-13
469
27
565
0.93
0.84
0.92
Kano
FCST0000013
PRD29762
2023-03-07
436
444
209
0.77
1.3
0.96
Kano
FCST0000014
PRD42371
2024-09-07
347
337
255
0.72
0.88
1.19
Kaduna
FCST0000015
PRD96428
2023-06-25
284
209
52
0.8
0.99
0.97
Abeokuta
FCST0000016
PRD81360
2023-10-13
293
385
89
0.76
1.23
1.05
Kaduna
FCST0000017
PRD61078
2023-04-10
59
465
298
0.78
1.49
1.18
Ilorin
FCST0000018
PRD22106
2024-10-15
166
354
404
0.91
1.01
1.1
Lagos
FCST0000019
PRD83383
2024-07-09
500
191
469
0.9
0.84
0.91
Enugu
FCST0000020
PRD64186
2023-08-17
81
261
197
0.61
1
1.04
Onitsha
FCST0000021
PRD29592
2023-08-22
289
157
240
0.84
0.88
1.16
Port Harcourt
FCST0000022
PRD39325
2023-04-15
302
194
529
0.85
1.2
0.92
Ibadan
FCST0000023
PRD99400
2024-08-03
176
176
279
0.94
1.22
0.92
Aba
FCST0000024
PRD87866
2024-04-27
124
230
222
0.67
1.37
0.99
Calabar
FCST0000025
PRD46194
2023-02-19
356
226
574
0.88
1.13
1.06
Calabar
FCST0000026
PRD72972
2023-04-06
97
212
384
0.67
1.05
1.16
Benin City
FCST0000027
PRD34147
2023-10-07
343
117
142
0.92
1.04
0.97
Benin City
FCST0000028
PRD54733
2023-01-06
149
74
279
0.84
0.94
1.02
Ibadan
FCST0000029
PRD80218
2023-01-01
323
69
284
0.89
1.27
1.17
Benin City
FCST0000030
PRD83894
2023-10-19
239
370
168
0.89
1.12
0.91
Kano
FCST0000031
PRD14119
2024-06-13
464
69
341
0.6
1.1
0.94
Lagos
FCST0000032
PRD77111
2023-11-11
58
214
445
0.67
1.47
0.99
Ilorin
FCST0000033
PRD87931
2023-01-08
252
82
228
0.63
0.86
1.13
Lagos
FCST0000034
PRD37273
2024-06-18
390
47
58
0.66
1.19
0.93
Enugu
FCST0000035
PRD79026
2023-02-13
324
399
544
0.64
1.5
1.02
Abeokuta
FCST0000036
PRD77818
2023-03-05
321
208
136
0.79
0.92
1.01
Port Harcourt
FCST0000037
PRD85838
2023-01-13
68
39
279
0.75
1.22
1.2
Ilorin
FCST0000038
PRD93452
2023-12-04
390
497
588
0.67
1.24
1.16
Abeokuta
FCST0000039
PRD90409
2024-03-01
64
427
562
0.73
1.42
1.05
Ibadan
FCST0000040
PRD75222
2023-11-12
383
131
358
0.85
1.5
0.93
Benin City
FCST0000041
PRD11274
2023-06-03
365
29
186
0.7
1.2
0.9
Lagos
FCST0000042
PRD65441
2023-03-04
36
111
379
0.79
1.41
0.98
Abeokuta
FCST0000043
PRD76681
2024-10-26
348
285
355
0.76
1.49
1.01
Abuja
FCST0000044
PRD16513
2023-01-22
32
46
113
0.75
0.95
0.92
Calabar
FCST0000045
PRD73565
2024-01-04
312
75
521
0.73
1.09
1.08
Abuja
FCST0000046
PRD18280
2023-11-02
148
241
135
0.66
1.49
1.1
Kaduna
FCST0000047
PRD25293
2023-12-06
174
289
532
0.73
1.36
1.12
Ibadan
FCST0000048
PRD83040
2024-11-25
398
221
60
0.66
1.06
1.01
Jos
FCST0000049
PRD70973
2023-07-28
237
413
279
0.68
1.1
1.15
Port Harcourt
FCST0000050
PRD74098
2024-05-11
349
335
281
0.77
1.22
1.02
Ilorin
FCST0000051
PRD79072
2023-05-08
72
185
175
0.87
1.22
1.11
Abuja
FCST0000052
PRD89706
2023-09-10
196
210
222
0.71
1.49
0.93
Enugu
FCST0000053
PRD89494
2024-07-19
148
127
546
0.87
1.11
1.13
Abuja
FCST0000054
PRD33569
2023-01-25
343
287
529
0.61
1.24
1.09
Onitsha
FCST0000055
PRD10500
2024-11-28
31
95
220
0.89
0.82
1.11
Calabar
FCST0000056
PRD57420
2024-08-29
357
99
334
0.73
0.91
0.95
Jos
FCST0000057
PRD56985
2023-05-10
18
368
95
0.71
1.07
1.04
Kaduna
FCST0000058
PRD21360
2024-05-12
310
485
503
0.84
0.83
1.04
Lagos
FCST0000059
PRD54828
2023-08-06
300
190
205
0.91
0.81
1.1
Benin City
FCST0000060
PRD21215
2023-11-11
90
156
468
0.68
0.97
1.15
Benin City
FCST0000061
PRD30878
2023-09-13
340
500
224
0.88
1.29
1.15
Lagos
FCST0000062
PRD83972
2024-04-03
190
207
577
0.78
1.4
1.04
Abuja
FCST0000063
PRD64156
2024-04-16
59
342
186
0.67
1.35
0.99
Warri
FCST0000064
PRD37740
2024-02-19
337
143
450
0.67
0.82
1.07
Aba
FCST0000065
PRD46089
2024-02-23
291
121
43
0.91
0.85
0.92
Ibadan
FCST0000066
PRD44337
2023-07-09
498
138
469
0.72
0.88
1.15
Kano
FCST0000067
PRD25132
2023-07-28
304
88
347
0.93
0.88
1.18
Abeokuta
FCST0000068
PRD36748
2023-09-07
476
17
54
0.68
0.99
1.08
Jos
FCST0000069
PRD70096
2023-12-17
390
228
15
0.86
0.93
1.18
Calabar
FCST0000070
PRD12397
2024-02-10
321
446
55
0.61
1.28
1.16
Aba
FCST0000071
PRD57087
2023-08-02
302
442
471
0.6
1.41
1.07
Kaduna
FCST0000072
PRD76534
2024-05-01
395
484
560
0.88
0.99
1
Kano
FCST0000073
PRD27570
2023-10-06
64
476
279
0.62
0.81
1.13
Port Harcourt
FCST0000074
PRD37572
2023-08-23
412
302
111
0.69
1.39
1.2
Kano
FCST0000075
PRD45564
2024-02-27
465
299
124
0.78
1.45
1.15
Abuja
FCST0000076
PRD92549
2024-10-05
202
368
20
0.74
1.2
0.91
Ibadan
FCST0000077
PRD89968
2023-01-25
79
492
243
0.89
1.12
0.98
Kaduna
FCST0000078
PRD16618
2023-08-09
207
224
317
0.79
0.86
0.91
Onitsha
FCST0000079
PRD31435
2024-04-15
215
97
130
0.72
1.28
1.16
Enugu
FCST0000080
PRD48813
2024-05-24
159
471
337
0.92
0.81
1.18
Kano
FCST0000081
PRD61461
2024-01-22
344
22
378
0.87
1.37
0.95
Port Harcourt
FCST0000082
PRD55607
2023-06-01
217
408
211
0.67
1.4
1.02
Onitsha
FCST0000083
PRD32542
2024-01-26
281
365
267
0.68
1.03
1.16
Calabar
FCST0000084
PRD69029
2023-09-09
348
289
551
0.6
0.84
0.97
Abuja
FCST0000085
PRD21673
2024-06-27
354
217
575
0.93
0.88
1.03
Ilorin
FCST0000086
PRD80395
2024-03-14
65
463
33
0.95
1.2
0.92
Aba
FCST0000087
PRD24201
2024-11-03
31
29
196
0.71
0.86
1.06
Port Harcourt
FCST0000088
PRD54777
2024-09-28
122
378
422
0.79
1.03
1.13
Abuja
FCST0000089
PRD22380
2023-08-12
47
473
482
0.88
1.28
1.19
Aba
FCST0000090
PRD59012
2024-08-28
301
466
479
0.88
1.23
1.15
Port Harcourt
FCST0000091
PRD60408
2023-01-12
377
436
156
0.92
1.35
0.93
Calabar
FCST0000092
PRD62288
2024-06-23
498
430
248
0.71
1.29
0.97
Abeokuta
FCST0000093
PRD93949
2023-08-31
330
391
485
0.9
1.49
0.96
Abuja
FCST0000094
PRD30060
2024-10-02
148
220
315
0.83
1.18
1.08
Port Harcourt
FCST0000095
PRD75356
2024-05-28
271
499
99
0.94
0.91
1.17
Abuja
FCST0000096
PRD48459
2023-08-24
397
454
423
0.61
0.93
1.17
Ibadan
FCST0000097
PRD38191
2024-05-26
256
141
229
0.72
1.09
0.99
Warri
FCST0000098
PRD45309
2024-08-25
446
482
90
0.72
1.25
1.03
Abuja
FCST0000099
PRD83725
2024-08-17
363
427
571
0.7
1.23
0.96
Jos
End of preview. Expand in Data Studio

Nigerian Retail and E-Commerce - Demand Forecasting Datasets

Dataset Description

Comprehensive demand forecasting datasets for Nigerian retail and e-commerce analysis

Dataset Information

  • Category: Product and Inventory
  • Industry: Retail & E-Commerce
  • Country: Nigeria
  • Format: CSV, Parquet
  • Rows: 400,000
  • Columns: 10
  • Date Generated: 2025-10-06
  • Location: data/demand_forecasting_datasets/
  • License: GPL

Schema

Column Type Sample Values
forecast_id String FCST0000000
product_id String PRD27967
date String 2023-04-15
historical_sales Integer 304
forecasted_demand Integer 198
actual_sales Integer 17
forecast_accuracy Float 0.69
seasonality_factor Float 1.44
trend_factor Float 1.09
city String Kano

Sample Data

forecast_id product_id       date  historical_sales  forecasted_demand  actual_sales  forecast_accuracy  seasonality_factor  trend_factor       city
FCST0000000   PRD27967 2023-04-15               304                198            17               0.69                1.44          1.09       Kano
FCST0000001   PRD15503 2023-12-01                88                346           477               0.80                1.17          1.02 Benin City
FCST0000002   PRD35105 2024-07-31               294                 86           462               0.67                0.91          0.92      Lagos

Use Cases

  • Data analysis and insights
  • Machine learning model training
  • Business intelligence
  • Research and education
  • Predictive analytics

Nigerian Context

This dataset incorporates authentic Nigerian retail and e-commerce characteristics:

E-Commerce Platforms

  • Jumia (35% market share) - Leading marketplace
  • Konga (25% market share) - Major competitor
  • Jiji (20% market share) - Classifieds platform
  • PayPorte, Slot, and other platforms

Physical Retail

  • Shoprite, Spar, Game - Major supermarket chains
  • Slot, Pointek - Electronics retailers
  • Mr Price - Fashion retail
  • Traditional markets: Balogun Market, Computer Village

Payment Methods

  • Cash on Delivery (45%) - Most popular
  • Bank Transfer (25%)
  • Debit Card (15%)
  • USSD (8%)
  • Mobile Money (5%)
  • Credit Card (2%)

Logistics & Delivery

  • GIG Logistics - Nationwide coverage
  • Kwik Delivery - Fast urban delivery
  • DHL, FedEx - International and express
  • Red Star Express - Nationwide courier
  • Local dispatch riders

Geographic Coverage

Major Nigerian cities including:

  • Lagos - Commercial capital, highest retail density
  • Abuja - Federal capital, high e-commerce penetration
  • Kano - Northern commercial hub
  • Port Harcourt - Oil city, strong purchasing power
  • Ibadan - Large urban market
  • Plus 10+ other major cities

Products & Categories

  • Electronics: Tecno, Infinix, Samsung phones; laptops, TVs
  • Fashion: Ankara fabric, Agbada, Kaftan, sneakers
  • Groceries: Rice (50kg bags), Garri, Palm Oil, Indomie
  • Beauty: Shea butter, Black soap, hair extensions
  • Home: Generators, inverters, solar panels

Currency & Pricing

  • Currency: Nigerian Naira (NGN, ₦)
  • Exchange Rate: ~₦1,500/USD
  • Price Ranges: Realistic Nigerian market prices
  • Time Zone: West Africa Time (WAT, UTC+1)

File Formats

CSV

data/demand_forecasting_datasets/nigerian_retail_and_ecommerce_demand_forecasting_datasets.csv

Parquet (Recommended)

data/demand_forecasting_datasets/nigerian_retail_and_ecommerce_demand_forecasting_datasets.parquet

Loading the Dataset

Hugging Face Datasets

from datasets import load_dataset

# Load dataset
dataset = load_dataset("electricsheepafrica/nigerian_retail_and_ecommerce_demand_forecasting_datasets")

# Convert to pandas
df = dataset['train'].to_pandas()

print(f"Loaded {len(df):,} rows")

Pandas (Direct)

import pandas as pd

# Load CSV
df = pd.read_csv('data/demand_forecasting_datasets/nigerian_retail_and_ecommerce_demand_forecasting_datasets.csv')

# Load Parquet (recommended for large datasets)
df = pd.read_parquet('data/demand_forecasting_datasets/nigerian_retail_and_ecommerce_demand_forecasting_datasets.parquet')

PyArrow

import pyarrow.parquet as pq

# Load Parquet
table = pq.read_table('data/demand_forecasting_datasets/nigerian_retail_and_ecommerce_demand_forecasting_datasets.parquet')
df = table.to_pandas()

Data Quality

  • Realistic Distributions: Based on Nigerian retail patterns
  • No Missing Critical Fields: Complete core data
  • Proper Data Types: Appropriate types for each column
  • Consistent Naming: Clear, descriptive column names
  • Nigerian Context: Authentic local characteristics
  • Production Scale: Suitable for real-world applications

Ethical Considerations

  • This is synthetic data generated for research and development
  • No real customer data or personally identifiable information
  • Designed to reflect realistic patterns without privacy concerns
  • Safe for public use, testing, and education

License

GPL License - General Public License

This dataset is free to use for:

  • Research and academic purposes
  • Commercial applications
  • Educational projects
  • Open source development

Citation

@dataset{nigerian_retail_demand_forecasting_datasets_2025,
  title={Demand Forecasting Datasets},
  author={Electric Sheep Africa},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/electricsheepafrica/nigerian-retail-demand-forecasting-datasets}}
}

Related Datasets

This dataset is part of the Nigerian Retail & E-Commerce Datasets collection, which includes 42 datasets covering:

  • Customer & Shopper Data
  • Sales & Transactions
  • Product & Inventory
  • Marketing & Engagement
  • Operations & Workforce
  • Pricing & Revenue
  • Customer Support
  • Emerging & Advanced Technologies

Browse all datasets: https://huggingface.co/electricsheepafrica

Updates & Maintenance

  • Version: 1.0
  • Last Updated: 2025-10-06
  • Maintenance: Active
  • Issues: Report via Hugging Face discussions

Contact

For questions, feedback, or collaboration:

  • Hugging Face: electricsheepafrica
  • Issues: Open a discussion on the dataset page
  • General Inquiries: Via Hugging Face profile

Part of the Nigerian Industry Datasets Initiative
Building comprehensive, authentic datasets for African markets.

Downloads last month
18

Collection including electricsheepafrica/nigerian_retail_and_ecommerce_demand_forecasting_datasets