Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'CustomerId', 'Exited', 'Surname'})
This happened while the csv dataset builder was generating data using
hf://datasets/SudeendraMG/Bank-Customer-Churn/bank_customer_churn.csv (at revision ce1b2af5ea867b5ba9f1182e13e8527029da865b)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
CustomerId: int64
Surname: string
CreditScore: int64
Geography: string
Age: double
Tenure: int64
Balance: double
NumOfProducts: int64
HasCrCard: double
IsActiveMember: double
EstimatedSalary: double
Exited: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1673
to
{'CreditScore': Value('int64'), 'Age': Value('float64'), 'Tenure': Value('int64'), 'Balance': Value('float64'), 'NumOfProducts': Value('int64'), 'HasCrCard': Value('float64'), 'IsActiveMember': Value('float64'), 'EstimatedSalary': Value('float64'), 'Geography': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1456, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'CustomerId', 'Exited', 'Surname'})
This happened while the csv dataset builder was generating data using
hf://datasets/SudeendraMG/Bank-Customer-Churn/bank_customer_churn.csv (at revision ce1b2af5ea867b5ba9f1182e13e8527029da865b)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CreditScore
int64 | Age
float64 | Tenure
int64 | Balance
float64 | NumOfProducts
int64 | HasCrCard
float64 | IsActiveMember
float64 | EstimatedSalary
float64 | Geography
string |
|---|---|---|---|---|---|---|---|---|
807
| 42
| 5
| 0
| 2
| 1
| 1
| 74,900.9
|
Spain
|
623
| 43
| 1
| 0
| 2
| 1
| 1
| 146,379.3
|
France
|
601
| 44
| 4
| 0
| 2
| 1
| 0
| 58,561.31
|
Spain
|
506
| 59
| 8
| 119,152.1
| 2
| 1
| 1
| 170,679.74
|
Germany
|
560
| 27
| 7
| 124,995.98
| 1
| 1
| 1
| 114,669.79
|
Spain
|
807
| 40
| 1
| 134,590.21
| 1
| 1
| 1
| 46,253.65
|
Germany
|
439
| 32
| 3
| 138,901.61
| 1
| 1
| 0
| 75,685.97
|
Spain
|
656
| 30
| 3
| 0
| 2
| 0
| 1
| 17,104
|
France
|
686
| 22
| 8
| 0
| 2
| 0
| 0
| 142,331.85
|
Spain
|
464
| 42
| 3
| 85,679.25
| 1
| 1
| 1
| 164,104.74
|
Germany
|
481
| 57
| 9
| 0
| 3
| 1
| 1
| 169,719.35
|
France
|
717
| 36
| 2
| 99,472.76
| 2
| 1
| 0
| 94,274.72
|
France
|
529
| 32
| 9
| 147,493.89
| 1
| 1
| 0
| 33,656.35
|
France
|
677
| 43
| 3
| 133,214.88
| 2
| 1
| 1
| 95,936.84
|
Spain
|
696
| 19
| 1
| 110,928.51
| 1
| 1
| 1
| 2,766.63
|
France
|
599
| 40
| 10
| 137,456.28
| 2
| 1
| 1
| 14,113.11
|
Germany
|
586
| 57
| 3
| 0
| 2
| 0
| 1
| 6,057.81
|
Spain
|
563
| 24
| 7
| 0
| 2
| 0
| 0
| 16,319.56
|
Spain
|
605
| 34
| 2
| 0
| 1
| 0
| 0
| 35,982.42
|
France
|
605
| 41
| 5
| 91,612.91
| 1
| 1
| 1
| 28,427.84
|
France
|
679
| 41
| 8
| 147,726.98
| 3
| 1
| 0
| 172,749.4
|
France
|
762
| 35
| 9
| 0
| 2
| 1
| 1
| 43,075.7
|
France
|
687
| 44
| 9
| 0
| 2
| 0
| 0
| 103,042.2
|
France
|
708
| 54
| 8
| 145,151.4
| 1
| 0
| 1
| 125,311.17
|
Germany
|
696
| 44
| 8
| 161,889.79
| 1
| 0
| 0
| 75,562.47
|
France
|
619
| 35
| 4
| 90,413.12
| 1
| 1
| 1
| 20,555.21
|
France
|
578
| 34
| 8
| 147,487.23
| 2
| 1
| 0
| 66,680.77
|
Germany
|
528
| 32
| 0
| 68,138.37
| 1
| 1
| 1
| 170,309.19
|
Spain
|
713
| 32
| 1
| 117,094.02
| 1
| 0
| 0
| 149,558.83
|
France
|
664
| 38
| 4
| 74,306.19
| 2
| 1
| 0
| 154,395.56
|
France
|
680
| 30
| 8
| 141,441.75
| 1
| 1
| 1
| 16,278.97
|
France
|
819
| 38
| 10
| 0
| 2
| 1
| 0
| 30,498.7
|
France
|
510
| 45
| 10
| 103,821.47
| 2
| 0
| 1
| 77,878.62
|
France
|
628
| 45
| 6
| 53,667.44
| 1
| 1
| 0
| 115,022.94
|
Germany
|
748
| 34
| 5
| 84,009.47
| 1
| 1
| 1
| 137,001.1
|
France
|
579
| 56
| 4
| 99,340.83
| 1
| 0
| 0
| 4,523.74
|
Spain
|
531
| 31
| 2
| 118,899.45
| 2
| 0
| 0
| 41,409.36
|
Spain
|
587
| 34
| 1
| 0
| 2
| 1
| 1
| 97,932.68
|
Spain
|
711
| 38
| 3
| 128,718.78
| 1
| 0
| 0
| 114,793.45
|
Spain
|
613
| 44
| 3
| 0
| 2
| 0
| 1
| 136,491.72
|
France
|
560
| 31
| 3
| 115,141.18
| 1
| 1
| 0
| 39,806.75
|
France
|
475
| 45
| 0
| 134,264.04
| 1
| 1
| 0
| 27,822.99
|
France
|
662
| 42
| 6
| 105,021.28
| 1
| 1
| 0
| 48,242.38
|
Spain
|
440
| 42
| 2
| 0
| 2
| 1
| 0
| 49,826.68
|
France
|
668
| 32
| 1
| 134,446.04
| 1
| 0
| 1
| 111,241.37
|
Spain
|
582
| 41
| 6
| 70,349.48
| 2
| 0
| 1
| 178,074.04
|
Germany
|
674
| 37
| 3
| 0
| 1
| 1
| 0
| 158,049.9
|
France
|
692
| 43
| 2
| 69,014.49
| 2
| 0
| 0
| 164,621.43
|
Germany
|
521
| 38
| 5
| 110,641.18
| 1
| 0
| 1
| 136,507.69
|
France
|
759
| 35
| 7
| 147,936.42
| 1
| 1
| 1
| 106,785.7
|
Spain
|
715
| 42
| 2
| 88,120.97
| 2
| 1
| 1
| 21,333.22
|
Germany
|
655
| 30
| 1
| 83,173.98
| 2
| 1
| 1
| 184,259.6
|
Germany
|
763
| 67
| 1
| 149,436.73
| 2
| 0
| 1
| 106,282.74
|
France
|
695
| 39
| 4
| 65,521.2
| 1
| 1
| 1
| 1,243.97
|
Spain
|
495
| 45
| 3
| 89,158.94
| 3
| 1
| 0
| 135,169.76
|
Spain
|
581
| 25
| 5
| 77,886.53
| 2
| 1
| 0
| 150,319.49
|
France
|
829
| 26
| 8
| 101,440.36
| 2
| 1
| 1
| 19,324.5
|
Spain
|
796
| 23
| 3
| 146,584.19
| 2
| 0
| 0
| 125,445.8
|
Spain
|
686
| 43
| 0
| 0
| 1
| 1
| 1
| 170,072.9
|
France
|
505
| 40
| 6
| 47,869.69
| 2
| 1
| 1
| 155,061.97
|
Germany
|
528
| 30
| 2
| 128,262.72
| 2
| 1
| 0
| 50,771.16
|
France
|
722
| 50
| 4
| 132,088.59
| 1
| 1
| 1
| 128,262.14
|
Spain
|
684
| 18
| 9
| 90,544
| 1
| 0
| 1
| 4,777.23
|
Germany
|
785
| 36
| 2
| 99,806.85
| 1
| 0
| 1
| 36,976.52
|
Germany
|
607
| 27
| 5
| 100,912.19
| 1
| 0
| 0
| 7,631.27
|
Spain
|
667
| 27
| 2
| 138,032.15
| 1
| 1
| 0
| 166,317.71
|
Germany
|
480
| 28
| 6
| 0
| 2
| 0
| 0
| 48,131.92
|
France
|
806
| 36
| 8
| 167,983.17
| 2
| 1
| 1
| 106,714.28
|
Germany
|
551
| 35
| 7
| 129,717.3
| 2
| 0
| 0
| 86,937.2
|
France
|
604
| 35
| 7
| 147,285.52
| 1
| 1
| 1
| 57,807.05
|
Spain
|
466
| 30
| 3
| 0
| 1
| 1
| 0
| 193,984.6
|
France
|
601
| 42
| 9
| 133,636.16
| 1
| 0
| 1
| 103,315.74
|
Germany
|
674
| 46
| 2
| 174,701.05
| 1
| 1
| 0
| 90,189.72
|
France
|
531
| 31
| 3
| 0
| 1
| 1
| 1
| 42,589.33
|
France
|
632
| 32
| 6
| 111,589.33
| 1
| 1
| 1
| 170,382.99
|
France
|
636
| 30
| 8
| 141,787.31
| 2
| 1
| 1
| 109,685.61
|
Germany
|
723
| 25
| 3
| 0
| 2
| 1
| 1
| 134,509.47
|
France
|
683
| 29
| 0
| 157,829.12
| 1
| 0
| 0
| 129,891.66
|
France
|
661
| 20
| 8
| 0
| 1
| 1
| 0
| 110,252.53
|
Spain
|
627
| 30
| 6
| 57,809.32
| 1
| 1
| 0
| 188,258.49
|
Germany
|
765
| 46
| 8
| 119,492.88
| 2
| 0
| 1
| 166,896.01
|
Germany
|
571
| 66
| 9
| 111,577.01
| 1
| 0
| 1
| 189,271.9
|
Germany
|
633
| 35
| 10
| 0
| 2
| 1
| 0
| 65,675.47
|
France
|
636
| 45
| 7
| 139,859.23
| 1
| 1
| 1
| 108,402.54
|
France
|
682
| 40
| 4
| 0
| 2
| 1
| 1
| 140,745.91
|
France
|
482
| 48
| 2
| 69,329.47
| 1
| 0
| 0
| 102,640.52
|
Germany
|
786
| 62
| 8
| 0
| 1
| 1
| 1
| 165,702.64
|
France
|
747
| 45
| 1
| 114,959.12
| 1
| 1
| 0
| 189,362.39
|
France
|
528
| 32
| 4
| 85,615.66
| 2
| 1
| 0
| 156,192.43
|
France
|
592
| 36
| 1
| 126,477.42
| 1
| 0
| 0
| 179,718.17
|
France
|
432
| 27
| 6
| 62,339.81
| 2
| 0
| 0
| 53,874.67
|
France
|
620
| 25
| 8
| 141,825.88
| 1
| 1
| 1
| 73,857.94
|
Germany
|
589
| 46
| 10
| 0
| 2
| 0
| 1
| 168,369.37
|
Spain
|
675
| 33
| 3
| 0
| 2
| 1
| 0
| 45,348.08
|
Spain
|
652
| 51
| 7
| 0
| 2
| 0
| 1
| 43,496.36
|
France
|
638
| 27
| 4
| 135,096.05
| 1
| 1
| 1
| 186,523.72
|
Germany
|
828
| 37
| 4
| 0
| 2
| 1
| 0
| 94,845.45
|
France
|
710
| 37
| 6
| 135,795.63
| 1
| 0
| 1
| 46,523.6
|
Germany
|
553
| 37
| 1
| 0
| 1
| 1
| 0
| 30,461.55
|
France
|
726
| 36
| 2
| 0
| 1
| 1
| 0
| 195,192.4
|
Spain
|
End of preview.
No dataset card yet
- Downloads last month
- 37