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 9 new columns ({'ITEM DESCRIPTION', 'YEAR', 'MONTH', 'SUPPLIER', 'ITEM CODE', 'RETAIL TRANSFERS', 'ITEM TYPE', 'WAREHOUSE SALES', 'RETAIL SALES'}) and 7 missing columns ({'Low', 'Date', 'Volume', 'Adj Close', 'High', 'Open', 'Close'}).

This happened while the csv dataset builder was generating data using

hf://datasets/CQ-AI/Financial_datasets/Retail and wherehouse Sale.csv (at revision b3f2ed7f39ba6ba6912ea0e62cb53ca595948246)

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
              YEAR: int64
              MONTH: int64
              SUPPLIER: string
              ITEM CODE: int64
              ITEM DESCRIPTION: string
              ITEM TYPE: string
              RETAIL SALES: double
              RETAIL TRANSFERS: double
              WAREHOUSE SALES: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1345
              to
              {'Date': Value('string'), 'Open': Value('float64'), 'High': Value('float64'), 'Low': Value('float64'), 'Close': Value('float64'), 'Adj Close': Value('float64'), 'Volume': 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 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 9 new columns ({'ITEM DESCRIPTION', 'YEAR', 'MONTH', 'SUPPLIER', 'ITEM CODE', 'RETAIL TRANSFERS', 'ITEM TYPE', 'WAREHOUSE SALES', 'RETAIL SALES'}) and 7 missing columns ({'Low', 'Date', 'Volume', 'Adj Close', 'High', 'Open', 'Close'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/CQ-AI/Financial_datasets/Retail and wherehouse Sale.csv (at revision b3f2ed7f39ba6ba6912ea0e62cb53ca595948246)
              
              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.

Date
string
Open
float64
High
float64
Low
float64
Close
float64
Adj Close
float64
Volume
int64
1980-03-18
0
3.125
2.9375
3.03125
3.03125
727,200
1980-03-19
0
3.083333
3.020833
3.041667
3.041667
295,200
1980-03-20
0
3.0625
3.010417
3.010417
3.010417
159,600
1980-03-21
0
3.020833
2.90625
2.916667
2.916667
130,800
1980-03-24
0
2.916667
2.635417
2.666667
2.666667
436,800
1980-03-25
0
2.75
2.552083
2.604167
2.604167
645,600
1980-03-26
0
2.604167
2.427083
2.447917
2.447917
466,800
1980-03-27
0
2.375
2.239583
2.375
2.375
1,129,200
1980-03-28
0
2.583333
2.458333
2.541667
2.541667
666,000
1980-03-31
0
2.583333
2.520833
2.541667
2.541667
430,800
1980-04-01
0
2.770833
2.583333
2.739583
2.739583
492,000
1980-04-02
0
2.739583
2.614583
2.625
2.625
283,200
1980-04-03
0
2.635417
2.604167
2.635417
2.635417
226,800
1980-04-07
0
2.614583
2.53125
2.541667
2.541667
355,200
1980-04-08
0
2.625
2.5
2.59375
2.59375
765,600
1980-04-09
0
2.666667
2.583333
2.666667
2.666667
134,400
1980-04-10
0
2.739583
2.65625
2.739583
2.739583
174,000
1980-04-11
0
2.770833
2.635417
2.635417
2.635417
109,200
1980-04-14
0
2.645833
2.5
2.5625
2.5625
267,600
1980-04-15
0
2.5625
2.520833
2.5625
2.5625
505,200
1980-04-16
0
2.572917
2.34375
2.354167
2.354167
358,800
1980-04-17
0
2.427083
2.270833
2.427083
2.427083
696,000
1980-04-18
0
2.46875
2.3125
2.322917
2.322917
342,000
1980-04-21
0
2.364583
2.28125
2.291667
2.291667
498,000
1980-04-22
0
2.604167
2.375
2.5625
2.5625
880,800
1980-04-23
0
2.729167
2.59375
2.614583
2.614583
588,000
1980-04-24
0
2.8125
2.614583
2.78125
2.78125
733,200
1980-04-25
0
2.760417
2.6875
2.708333
2.708333
343,200
1980-04-28
0
2.791667
2.71875
2.729167
2.729167
372,000
1980-04-29
0
2.729167
2.635417
2.666667
2.666667
270,000
1980-04-30
0
2.625
2.541667
2.552083
2.552083
273,600
1980-05-01
0
2.541667
2.458333
2.458333
2.458333
505,200
1980-05-02
0
2.46875
2.416667
2.46875
2.46875
282,000
1980-05-05
0
2.604167
2.5
2.604167
2.604167
302,400
1980-05-06
0
2.729167
2.583333
2.6875
2.6875
386,400
1980-05-07
0
2.708333
2.65625
2.6875
2.6875
138,000
1980-05-08
0
2.6875
2.604167
2.604167
2.604167
225,600
1980-05-09
0
2.583333
2.53125
2.541667
2.541667
128,400
1980-05-12
0
2.614583
2.520833
2.614583
2.614583
180,000
1980-05-13
0
2.708333
2.65625
2.6875
2.6875
213,600
1980-05-14
0
2.78125
2.697917
2.770833
2.770833
345,600
1980-05-15
0
2.770833
2.729167
2.729167
2.729167
292,800
1980-05-16
0
2.739583
2.645833
2.666667
2.666667
135,600
1980-05-19
0
2.708333
2.666667
2.6875
2.6875
66,000
1980-05-20
0
2.75
2.677083
2.75
2.75
453,600
1980-05-21
0
2.802083
2.739583
2.78125
2.78125
512,400
1980-05-22
0
2.916667
2.8125
2.916667
2.916667
499,200
1980-05-23
0
2.989583
2.895833
2.989583
2.989583
411,600
1980-05-27
0
3.0625
3
3.010417
3.010417
247,200
1980-05-28
0
3.145833
3
3.145833
3.145833
458,400
1980-05-29
0
3.208333
3.072917
3.083333
3.083333
618,000
1980-05-30
0
3.166667
3.03125
3.166667
3.166667
298,800
1980-06-02
0
3.166667
3.104167
3.104167
3.104167
208,800
1980-06-03
0
3.083333
3.010417
3.020833
3.020833
283,200
1980-06-04
0
3.072917
3
3.072917
3.072917
218,400
1980-06-05
0
3.125
3.020833
3.020833
3.020833
147,600
1980-06-06
0
3.0625
2.96875
3
3
428,400
1980-06-09
0
3.0625
2.864583
2.864583
2.864583
426,000
1980-06-10
0
2.96875
2.864583
2.96875
2.96875
464,400
1980-06-11
0
3.052083
2.958333
3.052083
3.052083
182,400
1980-06-12
0
3.104167
3.020833
3.09375
3.09375
404,400
1980-06-13
0
3.104167
3.072917
3.09375
3.09375
67,200
1980-06-16
0
3.09375
3.03125
3.03125
3.03125
242,400
1980-06-17
0
3.072917
3.052083
3.0625
3.0625
214,800
1980-06-18
0
3.052083
3
3.020833
3.020833
606,000
1980-06-19
0
3.052083
2.96875
2.96875
2.96875
220,800
1980-06-20
0
2.9375
2.927083
2.927083
2.927083
99,600
1980-06-23
0
2.958333
2.916667
2.9375
2.9375
198,000
1980-06-24
0
2.9375
2.90625
2.9375
2.9375
102,000
1980-06-25
0
3.104167
2.947917
3.072917
3.072917
358,800
1980-06-26
0
3.125
3.020833
3.020833
3.020833
246,000
1980-06-27
0
3.072917
3.010417
3.041667
3.041667
78,000
1980-06-30
0
3.072917
3.010417
3.041667
3.041667
205,200
1980-07-01
0
3.083333
3.010417
3.072917
3.072917
195,600
1980-07-02
0
3.177083
3.09375
3.177083
3.177083
181,200
1980-07-03
0
3.364583
3.166667
3.34375
3.34375
390,000
1980-07-07
0
3.510417
3.447917
3.458333
3.458333
355,200
1980-07-08
0
3.458333
3.333333
3.385417
3.385417
826,800
1980-07-09
0
3.5
3.40625
3.4375
3.4375
394,800
1980-07-10
0
3.5625
3.427083
3.5
3.5
318,000
1980-07-11
0
3.635417
3.5
3.614583
3.614583
433,200
1980-07-14
0
3.770833
3.65625
3.729167
3.729167
464,400
1980-07-15
0
3.822917
3.708333
3.708333
3.708333
583,200
1980-07-16
0
3.760417
3.604167
3.614583
3.614583
334,800
1980-07-17
0
3.65625
3.614583
3.645833
3.645833
255,600
1980-07-18
0
3.729167
3.614583
3.614583
3.614583
422,400
1980-07-21
0
3.65625
3.489583
3.572917
3.572917
378,000
1980-07-22
0
3.604167
3.541667
3.572917
3.572917
746,400
1980-07-23
0
3.583333
3.552083
3.5625
3.5625
398,400
1980-07-24
0
3.625
3.552083
3.583333
3.583333
123,600
1980-07-25
0
3.583333
3.5
3.510417
3.510417
260,400
1980-07-28
0
3.520833
3.458333
3.520833
3.520833
253,200
1980-07-29
0
3.739583
3.5
3.739583
3.739583
1,060,800
1980-07-30
0
4.104167
3.90625
4.03125
4.03125
711,600
1980-07-31
0
4.15625
4.020833
4.135417
4.135417
528,000
1980-08-01
0
4.291667
4.208333
4.260417
4.260417
670,800
1980-08-04
0
4.333333
4.21875
4.3125
4.3125
290,400
1980-08-05
0
4.416667
4.3125
4.364583
4.364583
508,800
1980-08-06
0
4.333333
4.21875
4.239583
4.239583
351,600
1980-08-07
0
4.270833
4.208333
4.21875
4.21875
218,400
End of preview.
README.md exists but content is empty.
Downloads last month
66

Models trained or fine-tuned on CQ-AI/Financial_datasets