Dataset Preview
Duplicate
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 ({'Product_Store_Sales_Total', 'Product_Id', 'Store_Id'})

This happened while the csv dataset builder was generating data using

hf://datasets/Lalithas/Superkart-Prediction/superkart.csv (at revision dbc404dced493256d7df63ef994acdea36b94cd2), [/tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/Xtest.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/Xtrain.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/superkart.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/superkart.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/ytest.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/ytrain.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/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.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/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.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Product_Id: string
              Product_Weight: double
              Product_Sugar_Content: string
              Product_Allocated_Area: double
              Product_Type: string
              Product_MRP: double
              Store_Id: string
              Store_Establishment_Year: int64
              Store_Size: string
              Store_Location_City_Type: string
              Store_Type: string
              Product_Store_Sales_Total: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1845
              to
              {'Product_Weight': Value('float64'), 'Product_Sugar_Content': Value('int64'), 'Product_Allocated_Area': Value('float64'), 'Product_Type': Value('int64'), 'Product_MRP': Value('float64'), 'Store_Establishment_Year': Value('int64'), 'Store_Size': Value('int64'), 'Store_Location_City_Type': Value('int64'), 'Store_Type': Value('int64')}
              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 1347, 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 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1802, 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 ({'Product_Store_Sales_Total', 'Product_Id', 'Store_Id'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Lalithas/Superkart-Prediction/superkart.csv (at revision dbc404dced493256d7df63ef994acdea36b94cd2), [/tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/Xtest.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/Xtrain.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/superkart.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/superkart.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/ytest.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/90557705964739-config-parquet-and-info-Lalithas-Superkart-Predic-bbe07267/hub/datasets--Lalithas--Superkart-Prediction/snapshots/dbc404dced493256d7df63ef994acdea36b94cd2/ytrain.csv (origin=hf://datasets/Lalithas/Superkart-Prediction@dbc404dced493256d7df63ef994acdea36b94cd2/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.

Product_Weight
float64
Product_Sugar_Content
int64
Product_Allocated_Area
float64
Product_Type
int64
Product_MRP
float64
Store_Establishment_Year
int64
Store_Size
int64
Store_Location_City_Type
int64
Store_Type
int64
12.53
2
0.066
13
145.62
2,009
1
1
3
13.29
0
0.086
3
135.99
2,009
1
1
3
9.99
2
0.09
6
125.79
1,987
0
1
2
10.72
1
0.049
8
92.94
1,998
2
2
1
15.6
0
0.121
14
176.07
1,987
0
1
2
11.87
0
0.1
0
130.28
2,009
1
1
3
11.13
0
0.052
4
135.49
2,009
1
1
3
14.02
0
0.09
14
118.48
2,009
1
1
3
11.42
1
0.018
9
147.95
2,009
1
1
3
9.55
0
0.043
14
88.28
1,998
2
2
1
14.44
1
0.097
9
218.42
1,999
1
0
0
10.95
0
0.073
15
145.75
2,009
1
1
3
10.62
0
0.107
13
132.73
2,009
1
1
3
9.45
1
0.035
9
129.31
1,987
0
1
2
12.76
0
0.16
6
160.7
2,009
1
1
3
12.94
0
0.027
14
120.3
2,009
1
1
3
8.97
0
0.02
13
118.77
1,998
2
2
1
11.56
0
0.086
6
141.52
2,009
1
1
3
17.13
0
0.147
6
191.14
1,999
1
0
0
13.2
0
0.133
7
119.63
2,009
1
1
3
14.44
2
0.019
5
141.72
2,009
1
1
3
11.17
0
0.039
7
121.43
2,009
1
1
3
8.49
0
0.199
0
138.99
1,987
0
1
2
12.92
2
0.013
13
117.1
2,009
1
1
3
19.22
0
0.033
13
212.36
1,999
1
0
0
12.67
0
0.042
1
159.77
2,009
1
1
3
15.65
2
0.093
5
184.74
1,987
0
1
2
9.72
0
0.162
10
113.3
1,998
2
2
1
14.51
0
0.067
5
182.65
1,987
0
1
2
12.8
0
0.016
14
194.7
1,999
1
0
0
16.8
0
0.017
12
160.69
1,987
0
1
2
15.05
0
0.1
3
229.89
1,999
1
0
0
11.81
2
0.07
5
128.82
2,009
1
1
3
13.22
2
0.098
3
213.71
1,987
0
1
2
13.06
2
0.098
4
135.29
2,009
1
1
3
10.17
1
0.031
9
156.69
2,009
1
1
3
10.2
1
0.016
8
116.99
1,998
2
2
1
15.45
2
0.012
5
191.07
1,999
1
0
0
10.44
1
0.1
9
56.01
1,998
2
2
1
13.73
2
0.07
2
142.45
2,009
1
1
3
15.47
0
0.029
14
175.2
1,987
0
1
2
12.16
2
0.03
14
158.08
2,009
1
1
3
12.02
0
0.161
5
106.83
1,987
0
1
2
12.81
0
0.031
6
168.24
2,009
1
1
3
13.55
0
0.029
6
147.92
2,009
1
1
3
12.15
2
0.047
5
140.69
2,009
1
1
3
15.8
0
0.05
13
177.27
1,987
0
1
2
11.93
0
0.076
6
143.45
2,009
1
1
3
11.2
2
0.014
7
181.94
2,009
1
1
3
16.3
0
0.071
4
154.75
1,999
1
0
0
12.23
0
0.058
12
164.15
2,009
1
1
3
10.41
0
0.021
3
151.97
2,009
1
1
3
8.05
1
0.04
8
67.14
1,998
2
2
1
10.46
1
0.047
8
97.59
1,998
2
2
1
14.57
0
0.06
13
161.93
1,987
0
1
2
10.57
0
0.042
10
125.25
2,009
1
1
3
9.66
1
0.062
8
178.03
2,009
1
1
3
13.53
1
0.023
9
196.65
1,987
0
1
2
7.59
2
0.191
6
176.98
2,009
1
1
3
19.12
2
0.056
10
193.68
1,999
1
0
0
17.5
2
0.178
10
192.22
1,999
1
0
0
12.47
2
0.064
10
156.27
2,009
1
1
3
15.39
0
0.053
6
137.79
2,009
1
1
3
14.17
2
0.064
6
142.1
2,009
1
1
3
11.94
0
0.019
4
136.14
2,009
1
1
3
9.68
0
0.16
4
137.65
2,009
1
1
3
15.82
0
0.031
6
162.76
1,999
1
0
0
11.75
2
0.031
13
61.57
1,998
2
2
1
13.11
0
0.106
2
160.46
2,009
1
1
3
13.08
1
0.019
8
97.93
2,009
1
1
3
13.39
2
0.04
6
196.18
1,987
0
1
2
14.26
2
0.026
3
149.2
2,009
1
1
3
14.8
0
0.055
13
130.36
2,009
1
1
3
12.69
2
0.076
4
155.65
2,009
1
1
3
11.44
1
0.057
9
181.96
2,009
1
1
3
14.83
1
0.081
8
114.04
2,009
1
1
3
13.42
1
0.026
8
107.01
2,009
1
1
3
11.56
1
0.098
9
122.14
2,009
1
1
3
13.05
2
0.071
6
133.57
2,009
1
1
3
12.96
0
0.076
13
149.13
2,009
1
1
3
14.66
0
0.14
3
153.72
1,987
0
1
2
13.51
0
0.212
13
143.48
2,009
1
1
3
12.77
0
0.046
15
165.71
2,009
1
1
3
11.69
2
0.076
3
132.88
2,009
1
1
3
12.73
0
0.028
10
166.77
2,009
1
1
3
12.25
2
0.031
10
102.71
1,987
0
1
2
13.47
0
0.096
0
145.93
2,009
1
1
3
12.5
2
0.081
3
135.26
2,009
1
1
3
12.97
2
0.036
13
157.12
2,009
1
1
3
10.46
0
0.077
4
107.28
1,998
2
2
1
13.91
0
0.098
0
186.73
1,987
0
1
2
11.3
0
0.022
4
133.51
2,009
1
1
3
12.11
2
0.027
7
106.65
2,009
1
1
3
14.25
1
0.009
9
194.45
1,987
0
1
2
14.28
0
0.121
5
152.84
2,009
1
1
3
8.43
0
0.124
13
128.61
1,998
2
2
1
10.84
1
0.103
8
162.99
2,009
1
1
3
14.04
1
0.167
8
145.76
2,009
1
1
3
10.77
0
0.016
3
136.99
2,009
1
1
3
9.16
0
0.047
4
123.95
1,998
2
2
1
End of preview.

No dataset card yet

Downloads last month
14