Dataset Viewer
Auto-converted to Parquet
transaction_id
stringlengths
36
36
wallet_id
stringlengths
12
12
timestamp
timestamp[ns]date
2024-01-01 00:01:00
2024-06-29 23:59:00
transaction_type
stringclasses
7 values
amount_ngn
float64
50
500k
fee_ngn
float64
10
200
balance_after_ngn
float64
44.8
1.19M
agent_id
stringlengths
0
12
channel
stringclasses
4 values
device_os
stringclasses
3 values
kyc_tier
stringclasses
3 values
fraud_flag
bool
2 classes
churn_30d
bool
2 classes
90e956c0-7e3e-4207-8bbc-90de4c61d05e
WLT-00001530
2024-06-03T20:35:00
airtime
1,000
10
917.204594
ussd
android
tier2
false
false
3cff1814-4796-4e7e-91ff-2cc1240fe8d8
WLT-00001003
2024-04-01T08:34:00
cashin
1,150
10
644.741704
AGT-00004700
ussd
android
tier2
false
false
9fb30da5-5e4e-453f-86cc-3cf842d211ac
WLT-00018460
2024-01-08T19:17:00
cashout
4,850
10
3,582.585292
AGT-00001615
app
android
tier1
false
false
6127f44f-6d23-4d9f-988f-54dcae598f4d
WLT-00000072
2024-04-14T23:10:00
p2p_send
9,800
98
1,546.044463
ussd
android
tier3
false
false
f5ca608d-9ddb-40ca-a4ad-39c8474477cd
WLT-00017907
2024-06-14T07:10:00
billpay
1,600
10
4,361.698947
app
feature_phone
tier2
false
false
f0c12cf2-29e3-4d86-9209-297cc779f3e3
WLT-00000178
2024-03-29T06:23:00
cashout
2,950
10
12,197.680038
AGT-00000848
ussd
android
tier3
false
false
21e3a9a2-bfc7-4994-a4ac-b9be24a7ed83
WLT-00002901
2024-06-26T11:55:00
p2p_send
1,050
10
1,419.676271
ussd
android
tier3
false
false
0e2718f4-4d00-46c8-aa6a-054e5e0738d6
WLT-00179208
2024-04-05T13:49:00
billpay
1,800
10
7,194.368461
app
feature_phone
tier1
false
false
6e38f5cc-c129-413f-8c23-b146247f542d
WLT-00242800
2024-05-03T15:09:00
p2p_send
1,350
10
52,787.470972
app
android
tier2
false
false
526ea735-ca78-47a0-93cc-e49431d72196
WLT-00002401
2024-03-15T11:29:00
airtime
1,000
10
1,657.510129
app
android
tier1
false
false
28f62770-a253-495f-87c1-e5eefbb6ed9c
WLT-00005562
2024-01-12T16:25:00
airtime
500
10
10,773.085012
ussd
android
tier1
false
true
bbe35d05-09ea-4b50-b475-7ac296109be3
WLT-00173423
2024-02-16T10:14:00
cashin
2,950
10
1,222.000937
AGT-00001378
agent
android
tier2
false
false
6047a3e1-4ead-4bce-b53e-31c6186885e8
WLT-00000032
2024-04-25T09:56:00
airtime
1,500
10
15,747.02528
ussd
android
tier1
false
true
ddd85117-4946-4a0f-82d1-9dd365da330b
WLT-00022059
2024-06-23T09:11:00
airtime
1,000
10
21,671.695018
ussd
android
tier2
false
false
72896d87-fd1e-4016-8d4f-f438eb3a0c8e
WLT-00073933
2024-06-20T12:52:00
p2p_receive
200
10
8,693.86285
ussd
android
tier1
false
false
a34c4544-eee7-46d7-a595-98066c3d880a
WLT-00335426
2024-01-10T19:41:00
cashout
2,250
10
8,321.711236
AGT-00006840
app
android
tier1
false
false
52d66b39-4315-4d62-948e-49d4520463fa
WLT-00162288
2024-06-05T06:16:00
airtime
2,000
10
3,914.325102
ussd
android
tier2
false
false
67367ede-6520-47c0-9346-5879e67d4c14
WLT-00000900
2024-04-22T15:39:00
airtime
1,500
10
15,350.550212
ussd
android
tier1
false
false
14f7114b-6d9f-4a26-ac0e-d70f25cedfee
WLT-00000002
2024-03-19T18:10:00
billpay
400
10
22,296.174479
ussd
android
tier1
false
false
a5119846-732c-4d5e-832d-eb161317b749
WLT-00061448
2024-01-28T20:03:00
billpay
1,700
10
9,711.977462
app
feature_phone
tier1
false
false
ce05fd89-829d-410b-9d85-5abe6bc04f19
WLT-00001900
2024-01-23T13:39:00
airtime
1,000
10
13,707.196769
app
ios
tier1
false
true
1809bc54-82a5-4282-ae94-78b26a9ddd0d
WLT-00000002
2024-03-25T14:16:00
airtime
200
10
35,784.667019
ussd
android
tier1
false
true
4e0d6f7c-cffe-4eb9-b706-cdba6ac3f602
WLT-00077342
2024-04-30T18:01:00
data
500
10
56,983.637841
agent
android
tier3
false
false
cd7375fc-7b8f-42f6-a40d-c698ee3db909
WLT-00008786
2024-03-15T07:50:00
billpay
1,450
10
7,116.149344
ussd
android
tier1
false
false
21b9e68f-f0ee-4105-a4d9-ff9c5a6654ed
WLT-00016798
2024-01-18T18:56:00
billpay
200
10
7,686.65091
app
feature_phone
tier2
false
false
1d0b23dd-a43e-4f40-b7b2-8adedad9ed61
WLT-00145064
2024-02-23T08:19:00
cashout
3,700
10
10,319.982246
AGT-00001202
ussd
feature_phone
tier1
true
false
626dad71-1a4e-46c2-aebe-eff502a7623e
WLT-00000229
2024-01-06T16:20:00
cashout
1,250
10
16,220.530997
AGT-00000378
ussd
android
tier1
false
false
5e67493b-b2a3-42b2-8a36-18dc5074e3a2
WLT-00023826
2024-06-18T07:06:00
p2p_send
1,150
10
33,228.961096
ussd
android
tier2
false
false
5bb24a50-45a9-46bc-adfa-4997d2447b43
WLT-00000647
2024-05-29T09:56:00
airtime
500
10
33,850.296815
ussd
android
tier1
false
true
1797e389-719d-47a0-8c0b-b80cc69cecc6
WLT-00038650
2024-03-02T19:12:00
p2p_send
1,500
10
5,171.83708
ussd
feature_phone
tier1
false
false
cf716c0e-50dd-4ca3-93d1-ce0ab6d556c7
WLT-00011139
2024-03-11T12:35:00
billpay
2,900
10
1,018.368123
ussd
android
tier1
false
false
ff762e29-3f51-48f1-9d91-7e111c9385dd
WLT-00000264
2024-02-01T13:37:00
billpay
900
10
8,623.884146
ussd
android
tier2
false
false
f294fcf4-31bb-4918-8560-3b91decf65bb
WLT-00051599
2024-02-22T20:47:00
p2p_receive
5,200
52
5,611.283664
ussd
android
tier1
false
false
44f8db5d-6c16-4268-9c62-a0617c505bb5
WLT-00123095
2024-03-01T22:00:00
airtime
500
10
8,311.915877
app
android
tier2
false
false
48b2de0d-17f5-4c79-bcca-c5cbd7a734e5
WLT-00000006
2024-04-03T20:55:00
cashin
6,900
69
3,111.703877
AGT-00001183
app
android
tier1
false
false
cdeb414e-5fd0-4428-a421-1b816b934ea6
WLT-00000011
2024-01-07T17:17:00
airtime
500
10
10,732.99104
ussd
android
tier3
false
false
60635acb-6713-4f57-97dd-08aa7ec092cc
WLT-00001197
2024-04-05T18:31:00
p2p_receive
500
10
11,502.014453
app
android
tier2
false
false
6e16f41e-df99-495b-b9b7-345c2eb3e92c
WLT-00000932
2024-02-20T12:41:00
data
500
10
4,620.719485
app
android
tier2
false
false
09bbd280-c986-4732-b62a-d8e07449e441
WLT-00000002
2024-06-16T13:20:00
airtime
200
10
15,731.920566
ussd
android
tier1
false
false
a4eff445-e25d-4137-a0a1-b537a9f1f2ac
WLT-00003565
2024-02-29T10:24:00
airtime
500
10
13,817.571096
app
feature_phone
tier2
false
false
dcde9fd1-f07e-4fce-902f-2e77bc773c42
WLT-00006402
2024-03-18T12:24:00
cashin
11,100
111
5,402.262846
AGT-00004090
app
android
tier1
false
false
18611110-bf8d-42e6-b785-761fd84315c9
WLT-00000001
2024-01-07T10:06:00
p2p_send
800
10
5,937.441347
ussd
android
tier2
false
false
1fe1cf6b-3aff-42ab-be35-89ff5e0748cb
WLT-00043288
2024-04-20T08:36:00
p2p_receive
5,350
53.5
7,762.74622
ussd
android
tier1
false
false
318350fa-3a49-4d4c-8402-981dcc2193c9
WLT-00000009
2024-05-21T07:01:00
cashout
2,950
10
9,154.674499
AGT-00003798
ussd
feature_phone
tier1
false
false
348d630c-4613-4f2c-b303-1fb2a7670de1
WLT-00000709
2024-04-05T14:47:00
airtime
1,000
10
5,117.981286
app
android
tier1
false
false
1d608715-51fe-4cd5-8168-ec8ae9268c3f
WLT-00001456
2024-03-19T15:48:00
airtime
500
10
12,892.188075
ussd
feature_phone
tier1
false
false
009fca3b-ae79-4072-8e47-e6539ee74ada
WLT-00028478
2024-03-30T11:19:00
billpay
550
10
1,861.849389
web
android
tier1
false
false
186007d4-f600-4f38-8ef6-9a9c2799f835
WLT-00012710
2024-01-16T16:55:00
p2p_send
100
10
47,353.178067
ussd
android
tier1
false
false
4fe61064-124f-42ea-b017-c3e145f8a5f2
WLT-00017745
2024-03-05T11:34:00
p2p_send
1,150
10
25,732.925584
ussd
android
tier2
false
false
9f31a91f-226f-4e6c-b6b9-f56366272acf
WLT-00318182
2024-05-22T11:51:00
p2p_receive
2,450
10
51,708.306176
app
android
tier2
false
false
a2b37628-8fec-4588-bd26-896837822a08
WLT-00000163
2024-04-01T19:39:00
cashin
3,700
10
5,154.271154
AGT-00003881
ussd
android
tier2
false
false
7acfbd67-362e-4a4d-a4b6-76c058c55734
WLT-00009509
2024-01-25T12:30:00
cashin
14,100
141
18,548.968426
AGT-00006320
app
android
tier3
false
false
e784b0a9-3f01-4756-bfc8-2d36efbbc3cf
WLT-00000432
2024-02-17T15:53:00
airtime
2,000
10
26,150.909922
app
android
tier2
false
false
4c7cbb07-adc5-4906-9f73-c6f8613231d9
WLT-00082383
2024-05-10T20:52:00
airtime
200
10
7,505.04241
ussd
feature_phone
tier1
false
false
18aa9c6d-634a-4798-892a-22740a97aecf
WLT-00000122
2024-02-17T11:30:00
billpay
29,000
200
4,265.477139
app
android
tier1
false
false
fa7d6aee-0229-4c52-976e-9278a845b821
WLT-00141627
2024-01-07T14:33:00
airtime
1,000
10
5,642.774148
app
android
tier1
false
false
43741f6c-2c4a-4937-849d-4d37ff6e4ab3
WLT-00000071
2024-03-12T19:44:00
p2p_receive
5,100
51
3,731.562738
app
feature_phone
tier2
false
false
7f2a6b0b-429d-480e-9621-5dcdd3aa2cab
WLT-00011214
2024-03-25T10:14:00
airtime
1,500
10
13,959.205101
app
android
tier2
false
false
86b28093-ed4e-47a3-a64e-249b75545698
WLT-00000024
2024-06-28T18:08:00
p2p_send
7,550
75.5
5,520.532767
app
feature_phone
tier1
false
false
32d26d6d-0f40-4a0d-a6bf-b87fd2a2484a
WLT-00189739
2024-02-19T10:27:00
billpay
4,300
10
13,567.729746
app
android
tier1
false
false
993f38e5-213c-422b-8db8-b5388d2db0fb
WLT-00028400
2024-01-31T20:55:00
p2p_send
700
10
4,817.067605
ussd
android
tier2
false
false
873b108b-6410-434b-abe3-0fc142df8440
WLT-00246770
2024-05-05T17:46:00
airtime
200
10
18,020.88764
app
android
tier2
false
false
6ab8c6ae-4e3e-4c3c-a8c4-cd741b7c90c9
WLT-00001292
2024-03-16T22:53:00
p2p_receive
2,450
10
25,310.397618
app
android
tier1
false
false
78912c38-15ec-40f8-a7a6-a44cafec9a2f
WLT-00000008
2024-02-09T23:04:00
p2p_receive
400
10
38,269.380321
ussd
android
tier2
false
false
87933b51-5fcc-415a-857a-d4ef39330325
WLT-00000054
2024-04-05T10:08:00
airtime
200
10
10,345.623024
app
android
tier2
false
false
7bd9d10a-e520-4cae-a6d4-1d725c76b335
WLT-00010119
2024-02-19T17:46:00
billpay
6,550
65.5
5,700.009632
app
android
tier2
false
false
f2b80285-a7f8-4601-90d8-777f74f0c0f9
WLT-00000523
2024-01-14T15:55:00
p2p_receive
5,700
57
13,074.951082
agent
android
tier1
false
false
34502140-95eb-479b-a426-1ba923df0d56
WLT-00000004
2024-01-16T18:25:00
airtime
500
10
61,656.501511
agent
feature_phone
tier2
false
false
f0608865-24c0-4ce3-93a7-8d86c6380b17
WLT-00240759
2024-02-20T18:08:00
airtime
500
10
1,567.164029
ussd
android
tier1
false
true
d0beda98-2d43-44e1-b054-667c295591a9
WLT-00128083
2024-03-26T18:52:00
p2p_receive
700
10
1,252.154221
app
android
tier1
false
false
df7d6868-bf05-4e82-86ed-563342fdbbc8
WLT-00081525
2024-03-28T18:45:00
billpay
6,850
68.5
6,007.039065
agent
android
tier1
false
false
7b6b7b0f-9098-4d20-b218-8c5eb6997bc1
WLT-00000034
2024-02-02T21:22:00
airtime
200
10
24,751.757153
ussd
android
tier2
false
false
313232e5-600a-4e0a-b4f0-d856f5b5bb1d
WLT-00000036
2024-06-10T01:33:00
billpay
800
10
1,521.631418
agent
android
tier1
false
false
088417f3-e31b-497a-9eb7-7b10ec4886c3
WLT-00017187
2024-01-26T19:46:00
p2p_receive
39,650
200
6,250.977165
app
android
tier1
false
false
d28998dd-f372-4117-a943-f0f6add27fb6
WLT-00014111
2024-01-04T18:35:00
billpay
4,050
10
3,126.477149
ussd
android
tier2
false
false
e34626e9-52fc-4847-bf03-9ef2a7c0b9cc
WLT-00000102
2024-03-28T13:05:00
p2p_receive
1,500
10
44,360.452536
ussd
feature_phone
tier1
false
false
13ce1d3e-9267-4e67-9d97-ff7d69196166
WLT-00112303
2024-02-29T21:09:00
p2p_send
17,550
175.5
5,960.675149
app
ios
tier1
false
false
87d9f791-0929-4d06-b620-7239ee3b7d23
WLT-00010016
2024-02-18T20:59:00
cashin
100
10
4,837.651934
AGT-00009968
ussd
android
tier1
false
false
401e8c00-fd49-4c00-bece-9724e48d20ab
WLT-00372087
2024-06-13T08:51:00
airtime
2,000
10
4,559.043163
agent
android
tier1
false
false
7f8dbd93-66b2-4a73-aef1-f91679c3bbda
WLT-00097947
2024-06-18T22:51:00
airtime
200
10
9,228.978102
ussd
android
tier1
false
false
f148543f-b4c2-418d-9f22-b181935265c3
WLT-00017285
2024-02-29T08:57:00
airtime
500
10
70,577.754611
app
android
tier3
false
false
af163307-cf4b-4300-8d5b-2c932a473311
WLT-00000619
2024-01-27T16:47:00
airtime
200
10
6,846.499343
web
feature_phone
tier2
false
false
fe9aa2f3-3393-4ee3-89b1-5790197f84f5
WLT-00187546
2024-04-07T19:15:00
airtime
200
10
10,197.25641
app
android
tier2
false
false
c75059a2-eea9-409a-bf7b-b79ebe78d16e
WLT-00000006
2024-06-20T19:26:00
billpay
9,550
95.5
1,943.574499
ussd
android
tier1
false
false
526dc72e-095e-4b9e-80cd-f187f357fa24
WLT-00000004
2024-02-18T13:14:00
airtime
1,500
10
7,807.596312
app
feature_phone
tier2
false
false
0842d642-3381-4cf2-b30c-ee8f700c8992
WLT-00011463
2024-01-05T14:01:00
billpay
1,450
10
26,756.884081
app
android
tier1
false
false
26ba0052-0636-4c0c-8b6e-3e092e7bedbc
WLT-00274384
2024-01-08T18:31:00
airtime
2,000
10
9,857.755896
app
android
tier2
false
false
07e6244a-31a8-4e46-96fe-b05430af7e41
WLT-00127948
2024-06-13T16:40:00
p2p_send
800
10
3,030.294452
ussd
feature_phone
tier1
false
false
3ea4b787-6057-402a-bfbd-a3c59a16b64b
WLT-00000504
2024-03-23T11:04:00
p2p_send
20,700
200
2,262.791371
app
android
tier2
false
false
e56988e1-a2d5-4571-a3f4-101eed3df2c3
WLT-00005560
2024-04-21T18:36:00
p2p_receive
250
10
2,731.509336
app
feature_phone
tier2
false
false
2458a906-caed-44a6-bea3-aafcb3ccbc80
WLT-00103590
2024-05-01T07:20:00
cashin
16,350
163.5
9,015.695989
AGT-00008678
ussd
ios
tier1
false
false
246c02c4-eeb4-44d7-ba80-b17f14a3cb60
WLT-00000001
2024-02-23T20:59:00
cashout
13,150
131.5
2,502.175612
AGT-00001100
app
android
tier2
false
false
379bd718-c31e-4f11-9512-ae30a506dfeb
WLT-00016893
2024-04-27T17:44:00
p2p_receive
1,250
10
7,162.703472
app
android
tier1
false
false
0aa07852-582d-4ce6-bad6-c80c4bdfe6d7
WLT-00000380
2024-02-01T07:01:00
p2p_send
400
10
2,629.474033
app
android
tier2
false
false
f71cae60-8d41-4fde-8512-1efc768b0b20
WLT-00206309
2024-03-13T08:00:00
p2p_send
150
10
6,047.894812
agent
android
tier2
false
false
0886eb68-49fa-4043-830e-e2d4faf1b749
WLT-00010861
2024-06-18T17:22:00
p2p_receive
9,250
92.5
5,383.110149
ussd
android
tier2
false
false
d3872cd1-24bc-442a-b6c6-a1c69f465f74
WLT-00003235
2024-02-27T18:43:00
cashout
150
10
3,036.85757
AGT-00007938
ussd
feature_phone
tier1
false
false
e4fc9174-6b47-4191-95f9-5ae101fb822a
WLT-00067364
2024-03-24T20:43:00
p2p_receive
150
10
823.61264
ussd
feature_phone
tier2
false
false
03ddbb46-48d0-4b5d-9f64-b0d3324afd9b
WLT-00041860
2024-02-05T09:29:00
p2p_receive
2,700
10
24,829.78223
agent
android
tier1
false
false
83a61894-680a-4b5b-8122-3ed717cab70f
WLT-00388221
2024-01-23T06:35:00
p2p_receive
10,050
100.5
24,417.748724
ussd
android
tier1
false
false
End of preview. Expand in Data Studio

Nigerian Mobile Money Wallet Transactions

Dataset Type: Banking & Finance - Digital Payments
Version: 1.0
License: Apache 2.0
Language: English
Geography: Nigeria


Dataset Description

Synthetic Nigerian mobile money wallet transactions with fraud and churn labels. Covers major providers (OPay, PalmPay, MTN MoMo, Airtel Money) with realistic P2P, airtime, bill payment, and cash-in/out patterns.

Use Cases:

  • Mobile money fraud detection
  • Customer churn prediction
  • Financial inclusion analysis
  • Agent network optimization
  • Digital wallet product development

Dataset Statistics

  • Rows: 4,000,000 (pilot: 10,000)
  • Columns: 13
  • Time Range: 2024-01-01 to 2024-06-30 (6 months)
  • Fraud Prevalence: 1.5%
  • Churn Prevalence: 6%

Schema

Column Type Description
transaction_id string Unique transaction identifier (UUID)
wallet_id string Wallet identifier (WLT-########)
timestamp datetime Transaction timestamp (Africa/Lagos)
transaction_type category p2p_send, p2p_receive, cashin, cashout, airtime, data, billpay
amount_ngn float Transaction amount in Naira
fee_ngn float Transaction fee
balance_after_ngn float Wallet balance after transaction
agent_id string Agent ID (for cashin/cashout)
channel category ussd, app, agent, web
device_os category android, feature_phone, ios
kyc_tier category tier1, tier2, tier3
fraud_flag bool LABEL: True if fraudulent
churn_30d bool LABEL: True if churned in 30 days

Label Distribution

Fraud Flag

  • Positive: 1.5%
  • Negative: 98.5%

Fraud Drivers:

  • High Cashout Ratio (cashout/cashin >2): 12x risk
  • New Wallet (<7 days old): 5x risk
  • High Velocity (>20 txns/24h): 15x risk
  • Night Hours: 3x risk
  • Round Amounts (₦50k, ₦100k): 4x risk

Churn (30 days)

  • Positive: 6%
  • Negative: 94%

Churn Drivers:

  • Dormant (14+ days no activity): 8x risk
  • Low Diversity (only airtime): 3x risk
  • Failed Transactions (>3 failures): 4x risk
  • Tier 1 Only (never upgraded): 2.5x risk
  • No Bill Payments: 2x risk

Data Distributions

Transaction Types

Type Percentage Description
Airtime 25% Mobile phone top-up
P2P Send 20% Send money to another wallet
P2P Receive 20% Receive money from another wallet
Bill Payment 15% Utilities, cable TV, internet
Cash-in 10% Deposit to wallet
Cash-out 8% Withdraw from wallet
Data Bundle 2% Internet data purchase

Channels

Channel Percentage Description
USSD 50% *99# codes (no smartphone needed)
App 35% Smartphone apps
Agent 13% Through banking agents
Web 2% Web portal

Device OS

OS Percentage
Android 70%
Feature Phone 25%
iOS 5%

KYC Tiers

Tier Daily Limit Percentage
Tier 1 ₦50,000 60%
Tier 2 ₦200,000 35%
Tier 3 ₦5,000,000 5%

Mobile Money Providers

Market Share

Provider Share Features
OPay 35% Cashback rewards (1%)
PalmPay 30% Referral bonuses (₦500)
MTN MoMo 20% Network advantage (linked to MTN)
Airtel Money 10% Airtel network integration
9PSB 5% 9mobile payment service

Nigerian Context

Usage Patterns

Airtime Dominant: Small frequent airtime purchases (₦200-₦1,500)
Family Transfers: 65% send to 3-5 family members regularly
Agent Preference: Urban 75% cashout via agents, Rural 45%
USSD Heavy: 50% still use USSD (*99#) over apps
Bill Payments: DSTV, GOtv, EKEDC, IKEDC, internet

Financial Inclusion

  • Unbanked Access: Mobile money reaches 30M+ unbanked Nigerians
  • Rural Penetration: Feature phone support enables rural access
  • Low Barriers: Tier 1 KYC requires only phone number
  • Micro-transactions: Enables ₦50-₦500 transactions

Transaction Patterns

  • Morning Peak: 9-12am (before work)
  • Evening Peak: 6-8pm (after work, family transfers)
  • Weekend Dip: -20% on Sundays
  • Month-End Surge: +50% last week of month (salary days)

Files

mobile_money/
├── README.md
├── nigerian_mobile_money_pilot.parquet (10k, 0.62 MB)
├── nigerian_mobile_money.parquet (4M, ~320 MB) - Coming Soon
├── nigerian_mobile_money.csv (4M, ~640 MB) - Coming Soon
└── mobile_money_sample.csv (100 rows)

Usage Example

import pandas as pd
from sklearn.ensemble import RandomForestClassifier

# Load data
df = pd.read_parquet('nigerian_mobile_money.parquet')

# Fraud detection features
df['is_cashout'] = (df['transaction_type'] == 'cashout').astype(int)
df['is_night'] = ((df['timestamp'].dt.hour >= 22) | 
                  (df['timestamp'].dt.hour <= 6)).astype(int)
df['is_round'] = df['amount_ngn'].isin([50000, 100000, 200000]).astype(int)
df['hour'] = df['timestamp'].dt.hour

fraud_features = ['amount_ngn', 'fee_ngn', 'is_cashout', 
                   'is_night', 'is_round', 'hour']

X_fraud = df[fraud_features]
y_fraud = df['fraud_flag']

# Train fraud model
fraud_model = RandomForestClassifier(n_estimators=100)
fraud_model.fit(X_fraud, y_fraud)

# Churn prediction features
df['balance_low'] = (df['balance_after_ngn'] < 1000).astype(int)
df['is_tier1'] = (df['kyc_tier'] == 'tier1').astype(int)
df['only_airtime'] = (df['transaction_type'] == 'airtime').astype(int)

churn_features = ['balance_low', 'is_tier1', 'only_airtime', 'amount_ngn']

X_churn = df[churn_features]
y_churn = df['churn_30d']

# Train churn model
churn_model = RandomForestClassifier(n_estimators=100)
churn_model.fit(X_churn, y_churn)

Citation

@dataset{nigerian_mobile_money_2025,
  author = {Electric Sheep Africa},
  title = {Nigerian Mobile Money Wallet Transactions Dataset},
  year = {2025},
  publisher = {Hugging Face}
}

Last Updated: 2025-10-19
Status: ✅ Pilot Validated

Downloads last month
20

Collection including electricsheepafrica/nigerian-banking-mobile-money