Dataset Viewer
Auto-converted to Parquet Duplicate
CLIENTNUM
int64
708M
828M
Attrition_Flag
stringclasses
2 values
Customer_Age
int64
26
73
Gender
stringclasses
2 values
Dependent_count
int64
0
5
Education_Level
stringclasses
7 values
Marital_Status
stringclasses
4 values
Income_Category
stringclasses
6 values
Card_Category
stringclasses
4 values
Months_on_book
int64
13
56
Total_Relationship_Count
int64
1
6
Months_Inactive_12_mon
int64
0
6
Contacts_Count_12_mon
int64
0
6
Credit_Limit
float64
1.44k
34.5k
Total_Revolving_Bal
int64
0
2.52k
Avg_Open_To_Buy
float64
3
34.5k
Total_Amt_Chng_Q4_Q1
float64
0
3.4
Total_Trans_Amt
int64
510
18.5k
Total_Trans_Ct
int64
10
139
Total_Ct_Chng_Q4_Q1
float64
0
3.71
Avg_Utilization_Ratio
float64
0
1
Naive_Bayes_Classifier_Attrition_Flag_Card_Category_Contacts_Count_12_mon_Dependent_count_Education_Level_Months_Inactive_12_mon_1
float64
0
1
Naive_Bayes_Classifier_Attrition_Flag_Card_Category_Contacts_Count_12_mon_Dependent_count_Education_Level_Months_Inactive_12_mon_2
float64
0
1
768,805,383
Existing Customer
45
M
3
High School
Married
$60K - $80K
Blue
39
5
1
3
12,691
777
11,914
1.335
1,144
42
1.625
0.061
0.000093
0.99991
818,770,008
Existing Customer
49
F
5
Graduate
Single
Less than $40K
Blue
44
6
1
2
8,256
864
7,392
1.541
1,291
33
3.714
0.105
0.000057
0.99994
713,982,108
Existing Customer
51
M
3
Graduate
Married
$80K - $120K
Blue
36
4
1
0
3,418
0
3,418
2.594
1,887
20
2.333
0
0.000021
0.99998
769,911,858
Existing Customer
40
F
4
High School
Unknown
Less than $40K
Blue
34
3
4
1
3,313
2,517
796
1.405
1,171
20
2.333
0.76
0.000134
0.99987
709,106,358
Existing Customer
40
M
3
Uneducated
Married
$60K - $80K
Blue
21
5
1
0
4,716
0
4,716
2.175
816
28
2.5
0
0.000022
0.99998
713,061,558
Existing Customer
44
M
2
Graduate
Married
$40K - $60K
Blue
36
3
1
2
4,010
1,247
2,763
1.376
1,088
24
0.846
0.311
0.000055
0.99994
810,347,208
Existing Customer
51
M
4
Unknown
Married
$120K +
Gold
46
6
1
3
34,516
2,264
32,252
1.975
1,330
31
0.722
0.066
0.000123
0.99988
818,906,208
Existing Customer
32
M
0
High School
Unknown
$60K - $80K
Silver
27
2
2
2
29,081
1,396
27,685
2.204
1,538
36
0.714
0.048
0.000086
0.99991
710,930,508
Existing Customer
37
M
3
Uneducated
Single
$60K - $80K
Blue
36
5
2
0
22,352
2,517
19,835
3.355
1,350
24
1.182
0.113
0.000045
0.99996
719,661,558
Existing Customer
48
M
2
Graduate
Single
$80K - $120K
Blue
36
6
3
3
11,656
1,677
9,979
1.524
1,441
32
0.882
0.144
0.000303
0.9997
708,790,833
Existing Customer
42
M
5
Uneducated
Unknown
$120K +
Blue
31
5
3
2
6,748
1,467
5,281
0.831
1,201
42
0.68
0.217
0.000191
0.99981
710,821,833
Existing Customer
65
M
1
Unknown
Married
$40K - $60K
Blue
54
6
2
3
9,095
1,587
7,508
1.433
1,314
26
1.364
0.174
0.000198
0.9998
710,599,683
Existing Customer
56
M
1
College
Single
$80K - $120K
Blue
36
3
6
0
11,751
0
11,751
3.397
1,539
17
3.25
0
0.000048
0.99995
816,082,233
Existing Customer
35
M
3
Graduate
Unknown
$60K - $80K
Blue
30
5
1
3
8,547
1,666
6,881
1.163
1,311
33
2
0.195
0.000096
0.9999
712,396,908
Existing Customer
57
F
2
Graduate
Married
Less than $40K
Blue
48
5
2
2
2,436
680
1,756
1.19
1,570
29
0.611
0.279
0.000114
0.99989
714,885,258
Existing Customer
44
M
4
Unknown
Unknown
$80K - $120K
Blue
37
5
1
2
4,234
972
3,262
1.707
1,348
27
1.7
0.23
0.000063
0.99994
709,967,358
Existing Customer
48
M
4
Post-Graduate
Single
$80K - $120K
Blue
36
6
2
3
30,367
2,362
28,005
1.708
1,671
27
0.929
0.078
0.000236
0.99976
753,327,333
Existing Customer
41
M
3
Unknown
Married
$80K - $120K
Blue
34
4
4
1
13,535
1,291
12,244
0.653
1,028
21
1.625
0.095
0.00015
0.99985
806,160,108
Existing Customer
61
M
1
High School
Married
$40K - $60K
Blue
56
2
2
3
3,193
2,517
676
1.831
1,336
30
1.143
0.788
0.000175
0.99983
709,327,383
Existing Customer
45
F
2
Graduate
Married
Unknown
Blue
37
6
1
2
14,470
1,157
13,313
0.966
1,207
21
0.909
0.08
0.000055
0.99994
806,165,208
Existing Customer
47
M
1
Doctorate
Divorced
$60K - $80K
Blue
42
5
2
0
20,979
1,800
19,179
0.906
1,178
27
0.929
0.086
0.000057
0.99994
708,508,758
Attrited Customer
62
F
0
Graduate
Married
Less than $40K
Blue
49
2
3
3
1,438.3
0
1,438.3
1.047
692
16
0.6
0
0.99616
0.003836
784,725,333
Existing Customer
41
M
3
High School
Married
$40K - $60K
Blue
33
4
2
1
4,470
680
3,790
1.608
931
18
1.571
0.152
0.000069
0.99993
811,604,133
Existing Customer
47
F
4
Unknown
Single
Less than $40K
Blue
36
3
3
2
2,492
1,560
932
0.573
1,126
23
0.353
0.626
0.000207
0.99979
789,124,683
Existing Customer
54
M
2
Unknown
Married
$80K - $120K
Blue
42
4
2
3
12,217
0
12,217
1.075
1,110
21
0.75
0
0.00021
0.99979
771,071,958
Existing Customer
41
F
3
Graduate
Single
Less than $40K
Blue
28
6
1
2
7,768
1,669
6,099
0.797
1,051
22
0.833
0.215
0.000057
0.99994
720,466,383
Existing Customer
59
M
1
High School
Unknown
$40K - $60K
Blue
46
4
1
2
14,784
1,374
13,410
0.921
1,197
23
1.3
0.093
0.00005
0.99995
804,424,383
Existing Customer
63
M
1
Unknown
Married
$60K - $80K
Blue
56
3
3
2
10,215
1,010
9,205
0.843
1,904
40
1
0.099
0.000186
0.99981
718,813,833
Existing Customer
44
F
3
Uneducated
Single
Unknown
Blue
34
5
2
2
10,100
0
10,100
0.525
1,052
18
1.571
0
0.000121
0.99988
806,624,208
Existing Customer
47
M
4
High School
Married
$40K - $60K
Blue
42
6
0
0
4,785
1,362
3,423
0.739
1,045
38
0.9
0.285
0.000008
0.99999
778,348,233
Existing Customer
53
M
3
Unknown
Married
$80K - $120K
Blue
33
3
2
3
2,753
1,811
942
0.977
1,038
25
2.571
0.658
0.000218
0.99978
712,991,808
Existing Customer
53
M
2
Uneducated
Married
$60K - $80K
Blue
48
2
5
1
2,451
1,690
761
1.323
1,596
26
1.6
0.69
0.000125
0.99988
709,029,408
Existing Customer
41
M
4
Graduate
Married
$60K - $80K
Blue
36
4
1
2
8,923
2,517
6,406
1.726
1,589
24
1.667
0.282
0.000058
0.99994
788,658,483
Existing Customer
53
F
2
College
Married
Less than $40K
Blue
38
5
2
3
2,650
1,490
1,160
1.75
1,411
28
1
0.562
0.000186
0.99981
787,937,058
Existing Customer
58
M
0
Graduate
Married
$80K - $120K
Blue
49
6
2
2
12,555
1,696
10,859
0.519
1,291
24
0.714
0.135
0.000098
0.9999
715,318,008
Existing Customer
55
F
1
College
Single
Less than $40K
Blue
36
4
2
1
3,520
1,914
1,606
0.51
1,407
43
0.483
0.544
0.000063
0.99994
713,962,233
Existing Customer
55
F
3
Graduate
Married
Less than $40K
Blue
36
6
2
3
3,035
2,298
737
1.724
1,877
37
1.176
0.757
0.000199
0.9998
785,432,733
Existing Customer
42
F
4
High School
Married
Less than $40K
Gold
36
2
3
3
15,433
0
15,433
0.865
966
22
1.2
0
0.000355
0.99964
715,190,283
Existing Customer
57
F
1
Graduate
Unknown
$40K - $60K
Blue
49
3
3
2
3,672
886
2,786
1.32
1,464
28
0.556
0.241
0.000169
0.99983
708,300,483
Attrited Customer
66
F
0
Doctorate
Married
Unknown
Blue
56
5
4
3
7,882
605
7,277
1.052
704
16
0.143
0.077
0.9978
0.002197
827,111,283
Existing Customer
45
M
3
Graduate
Single
$80K - $120K
Blue
41
2
2
2
32,426
578
31,848
1.042
1,109
28
0.474
0.018
0.000118
0.99988
758,551,608
Existing Customer
51
M
2
Unknown
Married
$40K - $60K
Blue
44
4
1
0
6,205
2,204
4,001
0.803
1,347
28
0.556
0.355
0.000022
0.99998
773,146,383
Existing Customer
50
F
1
College
Single
$40K - $60K
Silver
43
3
2
3
17,304
2,517
14,787
1.449
1,756
33
1.2
0.145
0.000158
0.99984
778,493,808
Existing Customer
49
M
3
High School
Married
$60K - $80K
Blue
37
5
2
1
3,906
0
3,906
1.214
1,756
32
1
0
0.000069
0.99993
720,572,508
Existing Customer
38
F
4
Graduate
Single
Unknown
Blue
28
2
3
3
9,830
2,055
7,775
0.977
1,042
23
0.917
0.209
0.000317
0.99968
712,661,433
Existing Customer
49
M
4
Uneducated
Single
$80K - $120K
Blue
30
3
2
3
34,516
0
34,516
1.621
1,444
28
1.333
0
0.000206
0.99979
789,172,683
Existing Customer
56
M
2
Doctorate
Married
$60K - $80K
Blue
45
6
2
0
2,283
1,430
853
2.316
1,741
27
0.588
0.626
0.000061
0.99994
738,406,533
Existing Customer
59
M
1
Doctorate
Married
$40K - $60K
Blue
52
3
2
2
2,548
2,020
528
2.357
1,719
27
1.7
0.793
0.000155
0.99985
799,723,908
Existing Customer
46
M
3
High School
Married
$80K - $120K
Blue
40
4
3
3
19,458
1,435
18,023
0.787
1,217
27
0.8
0.074
0.000305
0.99969
771,490,833
Existing Customer
52
M
1
College
Single
$80K - $120K
Blue
40
5
1
1
4,745
1,227
3,518
0.624
1,140
40
0.6
0.259
0.00003
0.99997
720,756,708
Existing Customer
52
F
3
Unknown
Married
Less than $40K
Blue
41
6
3
2
2,622
1,549
1,073
1.321
1,878
30
1.143
0.591
0.000205
0.99979
779,471,883
Attrited Customer
54
F
1
Graduate
Married
Less than $40K
Blue
40
2
3
1
1,438.3
808
630.3
0.997
705
19
0.9
0.562
0.99028
0.00972
711,525,033
Existing Customer
66
F
0
High School
Married
Less than $40K
Blue
54
3
4
2
3,171
2,179
992
1.224
1,946
38
1.923
0.687
0.000181
0.99982
712,813,458
Existing Customer
49
M
2
Unknown
Married
$120K +
Blue
36
4
2
0
19,763
2,517
17,246
0.664
1,414
35
0.25
0.127
0.000046
0.99995
714,374,133
Attrited Customer
56
M
2
Graduate
Married
$120K +
Blue
36
1
3
3
15,769
0
15,769
1.041
602
15
0.364
0
0.99671
0.003294
717,891,558
Existing Customer
49
F
4
Graduate
Unknown
Less than $40K
Blue
36
6
4
2
3,298
2,200
1,098
0.678
1,052
32
0.6
0.667
0.000228
0.99977
716,632,758
Existing Customer
49
F
3
Graduate
Single
Less than $40K
Blue
36
2
2
0
2,802
2,363
439
0.75
1,295
40
0.6
0.843
0.000044
0.99996
768,563,658
Existing Customer
56
M
2
Uneducated
Married
$40K - $60K
Blue
50
4
2
3
4,458
1,880
2,578
1.107
1,424
29
1.417
0.422
0.000197
0.9998
711,427,458
Existing Customer
44
F
5
Graduate
Married
Unknown
Blue
35
4
1
2
6,273
978
5,295
2.275
1,359
25
1.083
0.156
0.000057
0.99994
714,091,983
Existing Customer
42
M
2
High School
Single
$60K - $80K
Blue
34
4
4
3
3,336
1,753
1,583
0.69
1,168
27
1.25
0.525
0.000355
0.99964
787,584,108
Existing Customer
55
M
3
Unknown
Married
$80K - $120K
Blue
47
4
2
3
3,436
2,016
1,420
0.901
1,097
33
0.833
0.587
0.000218
0.99978
712,030,833
Attrited Customer
48
M
2
Graduate
Married
$60K - $80K
Silver
35
2
4
4
34,516
0
34,516
0.763
691
15
0.5
0
0.99823
0.001771
711,481,533
Existing Customer
39
M
1
High School
Divorced
$60K - $80K
Blue
33
5
3
3
5,926
1,251
4,675
0.944
1,316
28
1.154
0.211
0.000276
0.99972
710,082,708
Existing Customer
44
M
4
Post-Graduate
Single
$120K +
Blue
32
2
4
2
23,957
2,102
21,855
0.997
1,276
26
0.733
0.088
0.000268
0.99973
708,155,733
Existing Customer
53
M
2
High School
Single
$120K +
Blue
44
4
2
2
14,734
1,634
13,100
0.989
1,289
23
0.917
0.111
0.000111
0.99989
788,979,258
Existing Customer
51
M
4
Uneducated
Single
$80K - $120K
Silver
38
4
1
4
34,516
1,515
33,001
0.592
1,293
32
0.6
0.044
0.000154
0.99985
807,986,133
Existing Customer
57
M
2
College
Married
$60K - $80K
Blue
52
5
3
3
6,584
1,817
4,767
0.62
1,353
35
0.667
0.276
0.000294
0.99971
788,730,933
Existing Customer
44
F
2
Uneducated
Single
Less than $40K
Blue
20
6
3
3
2,084
1,468
616
1.004
1,132
28
0.556
0.704
0.000311
0.99969
711,314,058
Existing Customer
49
M
2
Graduate
Married
$60K - $80K
Blue
32
2
2
2
1,687
1,107
580
1.715
1,670
17
2.4
0.656
0.000114
0.99989
717,975,333
Existing Customer
50
M
2
Doctorate
Married
$80K - $120K
Blue
38
6
2
2
25,300
1,330
23,970
1.072
837
15
2
0.053
0.000165
0.99984
715,971,108
Existing Customer
51
M
4
Graduate
Single
$120K +
Blue
42
3
2
3
34,516
1,763
32,753
1.266
1,550
41
1.05
0.051
0.000201
0.9998
720,096,558
Existing Customer
55
F
2
Graduate
Married
Less than $40K
Blue
42
5
3
3
2,216
1,034
1,182
0.758
1,540
36
0.286
0.467
0.000303
0.9997
719,580,033
Existing Customer
54
M
1
Graduate
Unknown
$60K - $80K
Blue
43
4
2
3
2,910
2,030
880
0.769
1,256
21
0.4
0.698
0.00018
0.99982
820,582,308
Existing Customer
42
M
5
Uneducated
Married
$80K - $120K
Blue
37
6
2
2
22,913
1,528
21,385
0.414
1,394
35
0.522
0.067
0.000121
0.99988
789,973,308
Existing Customer
44
M
1
College
Single
$60K - $80K
Blue
35
3
3
3
24,312
1,932
22,380
1.312
1,341
24
1.182
0.079
0.000276
0.99972
712,876,233
Existing Customer
53
M
2
Graduate
Single
$80K - $120K
Blue
36
5
3
2
5,272
1,515
3,757
0.857
1,289
33
0.435
0.287
0.00018
0.99982
804,595,158
Existing Customer
44
F
4
Graduate
Single
Less than $40K
Blue
36
6
4
2
7,000
2,517
4,483
0.475
1,112
23
1.875
0.36
0.000228
0.99977
714,826,758
Existing Customer
37
F
3
Uneducated
Single
Less than $40K
Blue
29
4
4
2
7,038
1,801
5,237
0.751
2,339
57
0.966
0.256
0.000232
0.99977
779,058,108
Existing Customer
49
M
3
Graduate
Divorced
$60K - $80K
Blue
30
6
1
2
2,536
1,823
713
0.703
1,468
23
0.353
0.719
0.000057
0.99994
710,790,258
Existing Customer
47
M
2
Graduate
Married
$80K - $120K
Blue
38
6
3
2
28,904
1,899
27,005
0.85
1,334
35
0.4
0.066
0.00018
0.99982
715,623,483
Existing Customer
47
M
3
Graduate
Married
$60K - $80K
Blue
37
4
4
0
8,567
1,695
6,872
1.242
1,457
41
1.412
0.198
0.000083
0.99992
715,156,383
Existing Customer
44
M
1
Unknown
Unknown
$120K +
Blue
36
6
2
2
34,516
1,533
32,983
0.924
1,603
29
0.526
0.044
0.000117
0.99988
711,013,983
Attrited Customer
55
F
4
Unknown
Married
$40K - $60K
Blue
45
2
4
3
2,158
0
2,158
0.585
615
12
0.714
0
0.99763
0.002366
755,420,433
Existing Customer
59
F
1
Graduate
Married
Unknown
Blue
52
2
3
3
10,133
1,417
8,716
0.383
1,068
20
0.818
0.14
0.000284
0.99972
794,543,958
Existing Customer
53
M
1
Graduate
Divorced
$80K - $120K
Blue
35
5
4
2
34,516
1,219
33,297
1.129
1,590
27
2
0.035
0.000204
0.9998
716,396,358
Existing Customer
52
M
2
Graduate
Married
$60K - $80K
Blue
47
5
3
0
3,085
1,910
1,175
0.921
1,531
35
0.667
0.619
0.000066
0.99993
715,398,033
Existing Customer
53
M
2
High School
Single
$120K +
Blue
35
4
2
1
19,040
2,056
16,984
0.607
1,212
31
0.722
0.108
0.000067
0.99993
711,743,883
Existing Customer
43
F
3
Uneducated
Single
Less than $40K
Blue
35
5
2
3
4,026
0
4,026
0.483
1,237
32
0.6
0
0.000204
0.9998
719,720,058
Existing Customer
44
M
3
High School
Single
$60K - $80K
Blue
31
4
3
1
12,756
837
11,919
1.932
1,413
14
1.8
0.066
0.000109
0.99989
778,992,108
Existing Customer
57
M
2
Unknown
Married
$120K +
Blue
45
5
3
3
5,266
0
5,266
1.702
1,516
29
1.636
0
0.000333
0.99967
717,539,808
Existing Customer
51
F
2
High School
Single
Less than $40K
Blue
36
3
2
2
9,930
0
9,930
0.731
1,276
21
1.333
0
0.000111
0.99989
714,070,758
Existing Customer
49
M
4
High School
Single
$80K - $120K
Blue
38
4
3
0
31,302
1,953
29,349
0.875
1,564
35
2.182
0.062
0.000068
0.99993
714,107,958
Existing Customer
45
M
1
Graduate
Single
$40K - $60K
Blue
36
4
4
3
6,576
0
6,576
0.579
1,465
34
0.619
0
0.000343
0.99966
789,140,283
Existing Customer
53
M
0
Graduate
Single
$80K - $120K
Blue
42
5
4
1
2,664
2,037
627
0.85
1,286
29
0.933
0.765
0.000113
0.99989
715,550,508
Existing Customer
45
F
3
Unknown
Married
Unknown
Blue
28
5
1
2
2,535
2,440
95
1.705
1,312
20
1.222
0.963
0.000063
0.99994
719,712,633
Existing Customer
64
M
1
Graduate
Married
Less than $40K
Blue
52
6
4
3
1,709
895
814
1.656
1,673
32
0.882
0.524
0.000343
0.99966
772,629,333
Existing Customer
45
M
3
Graduate
Married
$40K - $60K
Blue
35
5
4
2
3,454
1,200
2,254
0.597
1,313
30
0.304
0.347
0.000226
0.99977
720,336,708
Existing Customer
53
M
3
Doctorate
Married
$40K - $60K
Blue
35
5
3
2
3,789
1,706
2,083
1.047
1,609
42
0.68
0.45
0.00027
0.99973
802,013,583
Existing Customer
56
M
3
College
Married
$120K +
Blue
50
3
2
0
9,689
2,250
7,439
0.576
1,158
19
0.727
0.232
0.000042
0.99996
711,887,583
Attrited Customer
47
M
2
Unknown
Married
$80K - $120K
Blue
37
2
3
3
5,449
1,628
3,821
0.696
836
18
0.385
0.299
0.997
0.002997
End of preview. Expand in Data Studio

Bank Churners Analysis

Part 1 - Dataset Overview

Dataset Description

The dataset is titled “Credit Card Customers” (Bank Churners), obtained from Kaggle. It contains detailed demographic, financial, and behavioral information about 10,127 credit card users of a retail banking institution, recorded across 23 features (columns), along with an indicator of whether each customer has churned.

Each record represents a single customer account, describing:

Demographic Attributes

Age, Gender, Marital Status, Education Level, Income Category, Number of Dependents

Account & Credit Characteristics

Card Category, Credit Limit, Revolving Balance, Average Open To Buy (available credit)

Behavioral Indicators

Months on Book (tenure), Total Relationship Count (products held), Months Inactive, Contacts Count (last 12 months), Total Transaction Amount & Count (yearly), Change in Spending (Q4 → Q1), Change in Transaction Frequency, Credit Utilization Ratio

Objective of the Analysis

The main goal of this analysis is to investigate customer behavior within a retail banking environment and identify the factors that drive customer retention versus attrition. We aim to uncover the demographic, financial, and behavioral patterns that distinguish customers who remain active from those at risk of churning. By examining account usage, spending intensity, product engagement, and credit behavior, the analysis seeks to surface actionable insights that can help financial institutions improve customer loyalty, design targeted retention strategies, and optimize overall customer lifecycle management.

Customer churn is a major concern for banks because losing clients directly affects revenue, stability, and long term growth. Understanding who is likely to leave and why is essential for preventing financial loss and strengthening customer relationships. This dataset provides realistic behavioral and financial signals that allow us to explore the underlying causes of attrition, making the analysis both meaningful and highly relevant to real world banking operations.

Target Variable

The target variable in this analysis is Attrition_Flag, which indicates whether a customer is an “Existing Customer” or an “Attrited Customer”. This variable represents customer churn, and the goal of the analysis is to explore which demographic, financial, and behavioral factors are associated with a higher likelihood of attrition.

Part 2 - Exploratory Data Analysis

Data Cleaning

The dataset was cleaned to ensure consistency and analytical readiness. CLIENTNUM was converted to an object identifier, and implicit missing values (“Unknown”, “N/A”) were standardized to NaN while keeping the affected rows to preserve potentially meaningful behavioral patterns. Zero values were reviewed and confirmed to represent valid customer behavior. Duplicate checks verified all records were unique, and categorical fields showed no formatting inconsistencies. Numerical sanity checks found no unrealistic values. The Attrition_Flag column was encoded into a binary variable for easier analysis, and two model-generated columns were removed to avoid leaking predictive information. Finally, income ranges were converted into approximate numeric values to support statistical exploration. The resulting dataset is clean, consistent, and ready for analysis.

Outlier Detection & Handling

Outlier analysis was conducted on key numerical features (transaction count and transaction amount). While several high-value observations appeared, they represent genuine high-spending customers rather than data errors. Because these values naturally occur in real banking environments, where a small segment of customers often shows significantly higher activity, we chose to retain them. Although these customers were not analyzed as a dedicated subgroup later in the project, keeping them in the dataset preserves the full behavioral spectrum of the customer base and prevents introducing bias by artificially removing legitimate activity levels.

Statistics - Attrition Flag (Target Variable)

The customer base shows an average age of 46, with most customers having 2-3 dependents and holding 3-4 banking products. Activity levels indicate moderate engagement: a median of 67 yearly transactions and around $3,900 in annual spending, with men spending slightly more than women. Churners represent 16% of the population and typically leave after about 36 months, mirroring the average tenure. These statistics provide a clear baseline overview of the customer population before deeper behavioral analysis.

Vizualizations

Average Transaction Amount by Gender and Age Group

The chart shows that average transaction amount declines steadily with age. Spending peaks in the early 30s and gradually decreases across older age groups, with a sharper drop after age 60. Both genders follow the same trend, with men consistently spending slightly more than women across all age segments.

Product Holding Distribution Across Customer Tenure

Most customers hold exactly 3 products regardless of tenure, and while longer tenured customers tend to have slightly more products, the change is gradual rather than dramatic. This indicates stable customer behavior over time with limited upsell expansion.

Research

How a change in spending between Q4 and Q1 predict customer attrition?

Although the spending change chart shows only a small difference in attrition rates (about 2%), the consistent direction suggests that some customer subgroups may react more strongly to financial changes than others. This leads to the next question: whether demographic factors such as the number of dependents are associated with different churn patterns. In other words, do customers with more dependents tend to stay longer or churn more often?

How does the number of dependents affect customer attrition?

Although attrition rates vary slightly by number of dependents, with a mild peak among customers with 3-4 dependents. The pattern is not stable enough to claim a meaningful relationship between family size and churn. This suggests that dependents may influence financial pressure for some customers, but they do not consistently explain attrition behavior. Given the weak signal, it prompts a deeper question: maybe churn is less about family structure and more about customer frustration or reduced engagement.

Do customers who contact the bank more frequently show higher churn?

The bubble chart shows a clear pattern: the more often customers contact the bank, the higher their likelihood of churn. Attrition rises from almost zero among customers with no contacts to full churn among those with six contacts, suggesting persistent issues or dissatisfaction. Given this strong link, we expanded the analysis to examine whether broader engagement factors such as product ownership also help explain churn across the full customer base.

Does the depth of the customer's relationship with the bank reduce the likelihood of attrition?

The chart shows a strong inverse link between product ownership and churn: customers with only 1-2 products have the highest attrition rates, while those with 5-6 products churn far less. This indicates that deeper relationships help protect against churn. This insight naturally leads to the next question: does a decline in day to day activity, rather than product count, also signal an increased risk of leaving?

How does customer inactivity influence attrition?

The analysis identifies a clear risk pattern: churn likelihood rises sharply from 1-4 months of inactivity, peaking at month 4. This means month 1 is the critical point for early intervention, before risk accelerates. After month 4, attrition decreases, suggesting that long term inactive customers are less likely to leave. Therefore, the bank should focus its retention efforts during months 1-4, where timely outreach and targeted support can significantly reduce churn.

Conclusions

The summary profile clearly highlights the behavioral divide between customers who stay and those who churn. Existing customers consistently exhibit higher spending, more frequent transactions, and broader product ownership, indicating strong engagement and stable relationships with the bank. In contrast, attrited customers show more inactive months and significantly higher contact frequency, signaling dissatisfaction or unresolved issues that accumulate over time. When combined with earlier findings such as the effects of declining spending, rising frustration driven contacts, limited product engagement, and prolonged inactivity, it becomes evident that churn is not a sudden event but the end result of a gradual breakdown in the customer-bank relationship.

Overall, the patterns from our analysis show that churn is strongly connected to early signs of customer frustration, a weakening relationship with the bank, and a gradual loss of trust, long before the customer decides to leave.

Strategic Recommendations for Reducing Customer Churn

Early Intervention After 1 Month of Inactivity

Automate outreach when a customer becomes inactive for one month and offer small incentives to re-engage before churn risk peaks in months 3-4.

Fast Track Support for High-Contact Customers

Flag customers with 4+ yearly contacts and route them to priority support to resolve recurring issues quickly and prevent frustration driven churn.

Strengthen Engagement for Customers With 1-2 Products

Target this high risk segment with simple cross-sell offers (card, savings, digital tools) to increase product ownership and stabilize retention.

Build a Proactive Churn Risk Monitoring System

Create a churn risk score that tracks key signals (inactivity, spending drops, high contact frequency) and triggers early retention actions automatically.

Presentation

The video is longer than the recommended length because I wanted to present the analysis clearly and avoid skipping important steps. I felt this was the best way to show the full process in a coherent and understandable way.

https://drive.google.com/file/d/1yGLYvIfas9NsG_5ufhmTFEw-JB8PWUdK/view?usp=sharing

Downloads last month
33