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 1 new columns ({'Exited'}) and 9 missing columns ({'Balance', 'Geography', 'NumOfProducts', 'CreditScore', 'IsActiveMember', 'EstimatedSalary', 'Tenure', 'Age', 'HasCrCard'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Parthipan00410/Bank-Customer-Churn-Data/Y_train.csv (at revision fe5d62fc1292fedc45663b2815358fc7b3c90152)
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Exited: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 371
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 1339, 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 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/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 1 new columns ({'Exited'}) and 9 missing columns ({'Balance', 'Geography', 'NumOfProducts', 'CreditScore', 'IsActiveMember', 'EstimatedSalary', 'Tenure', 'Age', 'HasCrCard'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Parthipan00410/Bank-Customer-Churn-Data/Y_train.csv (at revision fe5d62fc1292fedc45663b2815358fc7b3c90152)
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 |
|---|---|---|---|---|---|---|---|---|
632 | 42 | 4 | 119,624.6 | 2 | 1 | 1 | 195,978.86 | Germany |
559 | 24 | 3 | 114,739.92 | 1 | 1 | 0 | 85,891.02 | Spain |
661 | 30 | 7 | 0 | 2 | 1 | 0 | 72,196.57 | France |
483 | 30 | 9 | 0 | 2 | 0 | 0 | 136,356.97 | France |
675 | 69 | 1 | 0 | 2 | 1 | 0 | 157,097.09 | France |
599 | 41 | 2 | 91,328.71 | 1 | 1 | 0 | 115,724.78 | France |
473 | 35 | 6 | 69,617.36 | 1 | 1 | 0 | 143,345.69 | France |
426 | 34 | 3 | 0 | 2 | 1 | 1 | 61,230.83 | France |
601 | 74 | 2 | 0 | 2 | 0 | 1 | 51,554.58 | France |
741 | 36 | 3 | 0 | 2 | 1 | 1 | 89,804.83 | France |
667 | 39 | 2 | 0 | 2 | 1 | 0 | 40,721.24 | Spain |
741 | 32 | 5 | 0 | 1 | 1 | 1 | 64,839.23 | France |
588 | 37 | 7 | 70,258.88 | 2 | 1 | 0 | 139,607.61 | Germany |
741 | 60 | 5 | 0 | 1 | 1 | 1 | 38,914.51 | France |
702 | 38 | 9 | 0 | 2 | 1 | 1 | 158,527.45 | Spain |
487 | 24 | 7 | 133,628.09 | 2 | 1 | 1 | 98,570.01 | France |
654 | 29 | 2 | 91,955.61 | 1 | 1 | 0 | 37,065.66 | France |
850 | 49 | 8 | 98,649.55 | 1 | 1 | 0 | 119,174.88 | Germany |
697 | 63 | 7 | 148,368.02 | 1 | 0 | 0 | 118,862.08 | France |
757 | 30 | 3 | 145,396.49 | 1 | 0 | 1 | 198,341.15 | Spain |
610 | 57 | 7 | 72,092.95 | 4 | 0 | 1 | 113,228.82 | France |
663 | 42 | 1 | 82,228.67 | 2 | 1 | 0 | 71,359.78 | France |
694 | 38 | 1 | 0 | 2 | 0 | 1 | 156,858.2 | France |
437 | 26 | 1 | 120,923.52 | 1 | 0 | 1 | 78,854.57 | France |
629 | 59 | 9 | 113,657.83 | 1 | 1 | 1 | 116,848.79 | France |
689 | 33 | 2 | 161,814.64 | 2 | 1 | 0 | 169,381.9 | Germany |
629 | 40 | 9 | 0 | 1 | 1 | 0 | 106.67 | France |
618 | 56 | 7 | 0 | 1 | 1 | 1 | 142,400.27 | France |
474 | 45 | 10 | 0 | 2 | 0 | 0 | 172,175.9 | France |
761 | 34 | 2 | 0 | 2 | 1 | 0 | 61,251.25 | Spain |
665 | 41 | 8 | 96,147.55 | 1 | 1 | 0 | 137,037.97 | France |
683 | 30 | 10 | 57,657.49 | 1 | 0 | 0 | 79,240.9 | France |
590 | 31 | 8 | 112,211.61 | 1 | 1 | 0 | 26,261.42 | France |
812 | 24 | 10 | 0 | 2 | 1 | 1 | 156,906.15 | France |
832 | 34 | 6 | 138,190.13 | 2 | 0 | 1 | 146,511.2 | Spain |
809 | 43 | 2 | 0 | 2 | 1 | 1 | 132,908.07 | France |
685 | 40 | 7 | 0 | 1 | 1 | 0 | 72,852.74 | France |
803 | 36 | 1 | 0 | 2 | 1 | 1 | 149,370.93 | France |
617 | 50 | 7 | 0 | 1 | 1 | 0 | 184,839.7 | Spain |
775 | 38 | 6 | 179,886.41 | 2 | 0 | 0 | 153,122.58 | Germany |
698 | 39 | 9 | 161,993.89 | 1 | 0 | 0 | 90,212.38 | Spain |
657 | 39 | 4 | 80,293.81 | 1 | 1 | 0 | 97,192.76 | France |
562 | 62 | 3 | 0 | 2 | 1 | 0 | 105,986.01 | France |
642 | 56 | 6 | 103,244.86 | 2 | 1 | 0 | 143,049.72 | Germany |
584 | 40 | 4 | 82,441.75 | 1 | 0 | 0 | 80,852.11 | France |
773 | 36 | 4 | 105,858.71 | 1 | 0 | 1 | 4,395.45 | Germany |
708 | 43 | 0 | 118,994.84 | 1 | 1 | 0 | 181,499.77 | Germany |
705 | 35 | 4 | 136,496.12 | 2 | 1 | 0 | 116,672.02 | Germany |
643 | 43 | 1 | 0 | 2 | 1 | 1 | 145,764.4 | Spain |
682 | 58 | 4 | 0 | 1 | 1 | 0 | 176,036.01 | Spain |
614 | 34 | 5 | 0 | 2 | 1 | 0 | 185,561.89 | France |
492 | 38 | 8 | 57,068.43 | 2 | 1 | 0 | 188,974.81 | Germany |
562 | 75 | 5 | 87,140.85 | 1 | 1 | 1 | 39,351.64 | France |
509 | 29 | 0 | 107,712.57 | 2 | 1 | 1 | 92,898.17 | Germany |
787 | 39 | 10 | 108,935.39 | 1 | 1 | 1 | 101,168.3 | Spain |
445 | 33 | 7 | 0 | 2 | 1 | 0 | 122,625.68 | France |
778 | 47 | 6 | 127,299.34 | 2 | 1 | 0 | 124,694.99 | Spain |
633 | 58 | 6 | 98,308.51 | 1 | 1 | 1 | 132,034.13 | Spain |
793 | 25 | 3 | 100,913.57 | 1 | 0 | 0 | 10,579.72 | Spain |
618 | 35 | 10 | 0 | 2 | 1 | 0 | 180,439.75 | France |
607 | 36 | 10 | 106,702.94 | 2 | 0 | 0 | 198,313.69 | Germany |
687 | 30 | 6 | 0 | 2 | 0 | 0 | 179,206.92 | France |
427 | 42 | 1 | 75,681.52 | 1 | 1 | 1 | 57,098 | Germany |
578 | 40 | 7 | 0 | 2 | 0 | 0 | 102,233.73 | France |
763 | 37 | 8 | 0 | 2 | 1 | 1 | 933.38 | Spain |
794 | 33 | 8 | 0 | 2 | 0 | 0 | 91,340.02 | Spain |
776 | 37 | 2 | 0 | 1 | 0 | 1 | 8,065 | France |
697 | 74 | 3 | 108,071.36 | 2 | 1 | 1 | 16,445.79 | Germany |
639 | 43 | 6 | 99,610.92 | 2 | 1 | 0 | 187,296.78 | France |
651 | 41 | 4 | 133,432.59 | 1 | 0 | 1 | 151,303.48 | Germany |
683 | 25 | 4 | 0 | 2 | 1 | 0 | 152,698.24 | France |
516 | 27 | 9 | 0 | 1 | 1 | 0 | 142,680.64 | France |
850 | 61 | 1 | 0 | 1 | 1 | 0 | 53,067.83 | France |
595 | 44 | 4 | 96,553.52 | 2 | 1 | 0 | 143,952.24 | Germany |
561 | 34 | 1 | 78,829.53 | 1 | 1 | 1 | 12,148.2 | France |
604 | 40 | 5 | 155,455.43 | 1 | 0 | 1 | 113,581.85 | Spain |
611 | 28 | 2 | 0 | 2 | 0 | 0 | 25,395.83 | France |
698 | 31 | 1 | 156,111.24 | 1 | 0 | 0 | 134,790.74 | France |
829 | 27 | 9 | 112,045.67 | 1 | 1 | 1 | 119,708.21 | Germany |
591 | 39 | 3 | 0 | 3 | 1 | 0 | 140,469.38 | Spain |
629 | 37 | 1 | 35,549.81 | 2 | 0 | 0 | 49,676.33 | Germany |
692 | 34 | 7 | 0 | 2 | 1 | 0 | 195,074.62 | France |
691 | 52 | 3 | 0 | 1 | 1 | 0 | 175,843.68 | France |
749 | 42 | 1 | 129,776.72 | 2 | 0 | 1 | 143,538.51 | France |
585 | 33 | 8 | 0 | 2 | 1 | 0 | 114,182.07 | Spain |
503 | 31 | 4 | 0 | 2 | 1 | 1 | 21,645.06 | Spain |
772 | 23 | 2 | 0 | 2 | 1 | 0 | 18,364.19 | France |
689 | 31 | 3 | 139,799.63 | 1 | 0 | 1 | 120,663.57 | Spain |
546 | 45 | 2 | 0 | 1 | 0 | 0 | 197,789.83 | Spain |
627 | 27 | 1 | 62,092.9 | 1 | 1 | 1 | 105,887.04 | France |
568 | 40 | 1 | 99,282.63 | 1 | 0 | 0 | 134,600.94 | Germany |
717 | 38 | 7 | 0 | 2 | 1 | 1 | 158,580.05 | France |
690 | 29 | 5 | 0 | 2 | 1 | 0 | 108,577.97 | France |
560 | 66 | 9 | 0 | 1 | 1 | 1 | 15,928.49 | France |
734 | 22 | 5 | 130,056.23 | 1 | 0 | 0 | 121,894.31 | France |
767 | 47 | 2 | 0 | 1 | 1 | 0 | 48,161.18 | Spain |
785 | 28 | 8 | 0 | 2 | 1 | 0 | 77,231.27 | France |
702 | 34 | 4 | 100,054.77 | 1 | 1 | 0 | 109,496.45 | France |
504 | 40 | 5 | 0 | 2 | 0 | 0 | 146,703.36 | Spain |
645 | 43 | 9 | 140,121.17 | 1 | 1 | 0 | 11,302.7 | Germany |
End of preview.
No dataset card yet
- Downloads last month
- 3