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 5 new columns ({'CustomerId', 'RowNumber', 'Exited', 'Surname', 'Gender'})
This happened while the csv dataset builder was generating data using
hf://datasets/gjayant/bank-customer-churn/bank_customer_churn.csv (at revision 3becab895610e89cda02010214537aab1d4abb1a), ['hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/Xtest.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/Xtrain.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/bank_customer_churn.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/ytest.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/ytrain.csv']
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.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
RowNumber: int64
CustomerId: int64
Surname: string
CreditScore: int64
Geography: string
Gender: string
Age: int64
Tenure: int64
Balance: double
NumOfProducts: int64
HasCrCard: int64
IsActiveMember: int64
EstimatedSalary: double
Exited: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1906
to
{'CreditScore': Value('int64'), 'Age': Value('int64'), 'Tenure': Value('int64'), 'Balance': Value('float64'), 'NumOfProducts': Value('int64'), 'HasCrCard': Value('int64'), 'IsActiveMember': Value('int64'), '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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 5 new columns ({'CustomerId', 'RowNumber', 'Exited', 'Surname', 'Gender'})
This happened while the csv dataset builder was generating data using
hf://datasets/gjayant/bank-customer-churn/bank_customer_churn.csv (at revision 3becab895610e89cda02010214537aab1d4abb1a), ['hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/Xtest.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/Xtrain.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/bank_customer_churn.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/ytest.csv', 'hf://datasets/gjayant/bank-customer-churn@3becab895610e89cda02010214537aab1d4abb1a/ytrain.csv']
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 int64 | Tenure int64 | Balance float64 | NumOfProducts int64 | HasCrCard int64 | IsActiveMember int64 | EstimatedSalary float64 | Geography string |
|---|---|---|---|---|---|---|---|---|
596 | 32 | 3 | 96,709.07 | 2 | 0 | 0 | 41,788.37 | Germany |
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 |
790 | 37 | 8 | 0 | 2 | 1 | 1 | 149,418.41 | Spain |
439 | 32 | 3 | 138,901.61 | 1 | 1 | 0 | 75,685.97 | Spain |
597 | 22 | 6 | 101,528.61 | 1 | 1 | 0 | 70,529 | Germany |
678 | 40 | 4 | 113,794.22 | 1 | 1 | 0 | 16,618.76 | 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 |
651 | 56 | 4 | 0 | 1 | 0 | 0 | 84,383.22 | France |
850 | 47 | 6 | 0 | 1 | 1 | 0 | 187,391.02 | France |
687 | 41 | 2 | 154,007.21 | 1 | 1 | 0 | 158,408.23 | Germany |
696 | 19 | 1 | 110,928.51 | 1 | 1 | 1 | 2,766.63 | France |
612 | 36 | 5 | 119,799.27 | 2 | 1 | 0 | 159,416.58 | Spain |
586 | 57 | 3 | 0 | 2 | 0 | 1 | 6,057.81 | Spain |
425 | 40 | 9 | 166,776.6 | 2 | 0 | 1 | 172,646.88 | Germany |
643 | 43 | 1 | 0 | 2 | 1 | 1 | 145,764.4 | Spain |
641 | 37 | 2 | 0 | 2 | 1 | 0 | 3,939.87 | France |
795 | 40 | 2 | 101,891.1 | 1 | 1 | 1 | 183,044.86 | France |
762 | 35 | 9 | 0 | 2 | 1 | 1 | 43,075.7 | France |
687 | 44 | 9 | 0 | 2 | 0 | 0 | 103,042.2 | France |
850 | 37 | 4 | 88,141.1 | 1 | 1 | 0 | 109,659.12 | Spain |
753 | 62 | 6 | 0 | 2 | 1 | 1 | 136,398.9 | France |
678 | 49 | 3 | 204,510.94 | 1 | 0 | 1 | 738.88 | France |
578 | 34 | 8 | 147,487.23 | 2 | 1 | 0 | 66,680.77 | Germany |
825 | 29 | 3 | 148,874.01 | 2 | 0 | 1 | 71,192.82 | France |
696 | 30 | 0 | 0 | 2 | 1 | 1 | 9,002.8 | Spain |
457 | 40 | 10 | 134,320.23 | 2 | 1 | 0 | 150,757.35 | 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 |
567 | 36 | 1 | 0 | 2 | 0 | 0 | 8,555.73 | France |
638 | 34 | 5 | 146,679.77 | 1 | 1 | 0 | 102,179.86 | Spain |
579 | 56 | 4 | 99,340.83 | 1 | 0 | 0 | 4,523.74 | Spain |
715 | 37 | 9 | 105,489.31 | 1 | 0 | 0 | 143,096.49 | Germany |
587 | 34 | 1 | 0 | 2 | 1 | 1 | 97,932.68 | Spain |
711 | 38 | 3 | 128,718.78 | 1 | 0 | 0 | 114,793.45 | Spain |
741 | 36 | 3 | 0 | 2 | 1 | 1 | 89,804.83 | France |
688 | 38 | 7 | 148,045.68 | 1 | 1 | 0 | 175,479.92 | France |
475 | 45 | 0 | 134,264.04 | 1 | 1 | 0 | 27,822.99 | France |
567 | 36 | 7 | 0 | 2 | 0 | 1 | 3,896.08 | France |
440 | 42 | 2 | 0 | 2 | 1 | 0 | 49,826.68 | France |
741 | 42 | 6 | 106,036.52 | 1 | 1 | 0 | 194,686.78 | France |
582 | 41 | 6 | 70,349.48 | 2 | 0 | 1 | 178,074.04 | Germany |
613 | 26 | 4 | 100,446.57 | 1 | 0 | 1 | 149,653.81 | 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 |
711 | 39 | 3 | 152,462.79 | 1 | 1 | 0 | 90,305.97 | France |
554 | 44 | 6 | 92,436.86 | 1 | 1 | 0 | 126,033.9 | France |
651 | 35 | 8 | 110,067.71 | 1 | 1 | 0 | 127,678.95 | Germany |
495 | 45 | 3 | 89,158.94 | 3 | 1 | 0 | 135,169.76 | Spain |
805 | 39 | 2 | 0 | 1 | 0 | 0 | 166,650.32 | France |
829 | 26 | 8 | 101,440.36 | 2 | 1 | 1 | 19,324.5 | Spain |
583 | 40 | 4 | 55,776.39 | 2 | 1 | 0 | 26,920.43 | France |
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 |
677 | 34 | 4 | 0 | 2 | 1 | 1 | 6,175.53 | Spain |
660 | 37 | 2 | 133,200.09 | 1 | 0 | 0 | 71,433.88 | 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 |
603 | 39 | 5 | 162,390.52 | 2 | 1 | 0 | 54,702.66 | Spain |
480 | 28 | 6 | 0 | 2 | 0 | 0 | 48,131.92 | France |
656 | 68 | 7 | 153,545.11 | 1 | 1 | 1 | 186,574.68 | Germany |
631 | 48 | 1 | 106,396.48 | 1 | 1 | 1 | 150,661.42 | Germany |
604 | 35 | 7 | 147,285.52 | 1 | 1 | 1 | 57,807.05 | Spain |
622 | 32 | 5 | 179,305.09 | 1 | 1 | 1 | 149,043.78 | 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 |
707 | 46 | 7 | 127,476.73 | 2 | 1 | 1 | 146,011.55 | France |
723 | 25 | 3 | 0 | 2 | 1 | 1 | 134,509.47 | France |
795 | 38 | 7 | 125,903.22 | 2 | 1 | 1 | 127,068.92 | Germany |
585 | 45 | 0 | 0 | 2 | 0 | 0 | 189,683.7 | Spain |
627 | 30 | 6 | 57,809.32 | 1 | 1 | 0 | 188,258.49 | Germany |
546 | 30 | 5 | 0 | 2 | 0 | 1 | 198,543.09 | France |
571 | 66 | 9 | 111,577.01 | 1 | 0 | 1 | 189,271.9 | Germany |
684 | 42 | 1 | 117,691 | 1 | 1 | 1 | 23,135.65 | Germany |
636 | 45 | 7 | 139,859.23 | 1 | 1 | 1 | 108,402.54 | France |
562 | 48 | 3 | 92,347.96 | 1 | 1 | 1 | 163,116.75 | 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 |
688 | 32 | 6 | 124,179.3 | 1 | 1 | 1 | 138,759.15 | Spain |
699 | 29 | 3 | 125,689.29 | 1 | 1 | 1 | 151,623.71 | France |
528 | 32 | 4 | 85,615.66 | 2 | 1 | 0 | 156,192.43 | France |
542 | 42 | 1 | 0 | 1 | 1 | 1 | 178,256.58 | France |
773 | 50 | 4 | 0 | 2 | 1 | 0 | 129,372.94 | France |
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 |
607 | 32 | 9 | 144,272.07 | 2 | 1 | 0 | 176,580.63 | Germany |
594 | 23 | 4 | 104,753.84 | 2 | 1 | 0 | 56,756.52 | Germany |
755 | 42 | 2 | 119,919.12 | 1 | 1 | 0 | 156,868.21 | France |
555 | 40 | 10 | 139,930.18 | 1 | 1 | 1 | 105,720.09 | France |
End of preview.
No dataset card yet
- Downloads last month
- 43