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 30 new columns ({'G_t', 'S_t_lag3', 'G_t_lag3', 'S_t', 'MA5_S', 'DeltaS', 'G_t_lag2', 'sigma_t_lag3', 'r_t', 'RSUM10_V', 'RSTD5_S', 'V_t', 'sigmaG_t', 'sigma_t_lag1', 'RSUM5_V', 'vol20_t', 'S_t_lag1', 'G_t_lag1', 'sigma_t', 'sigma_t_lag2', 'y_t', 'V_t_lag2', 'MA20_S', 'RSTD10_S', 'date', 'S_t_lag2', 'logV_t', 'AI_t', 'V_t_lag1', 'V_t_lag3'}) and 3 missing columns ({'close', 'time', 'Volume'}).

This happened while the csv dataset builder was generating data using

hf://datasets/RichardVR/GDELT_Alpha_and_Trading_Strategy/2020/ml_daily_dataset.csv (at revision ce5a7a887c09e813d8a5166f25998b3e4b7e0993)

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
              date: string
              S_t: double
              sigma_t: double
              V_t: int64
              G_t: double
              sigmaG_t: double
              logV_t: double
              AI_t: double
              S_t_lag1: double
              sigma_t_lag1: double
              V_t_lag1: double
              G_t_lag1: double
              S_t_lag2: double
              sigma_t_lag2: double
              V_t_lag2: double
              G_t_lag2: double
              S_t_lag3: double
              sigma_t_lag3: double
              V_t_lag3: double
              G_t_lag3: double
              MA5_S: double
              MA20_S: double
              DeltaS: double
              RSTD5_S: double
              RSTD10_S: double
              RSUM5_V: double
              RSUM10_V: double
              r_t: double
              vol20_t: double
              y_t: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3694
              to
              {'time': Value('string'), '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 30 new columns ({'G_t', 'S_t_lag3', 'G_t_lag3', 'S_t', 'MA5_S', 'DeltaS', 'G_t_lag2', 'sigma_t_lag3', 'r_t', 'RSUM10_V', 'RSTD5_S', 'V_t', 'sigmaG_t', 'sigma_t_lag1', 'RSUM5_V', 'vol20_t', 'S_t_lag1', 'G_t_lag1', 'sigma_t', 'sigma_t_lag2', 'y_t', 'V_t_lag2', 'MA20_S', 'RSTD10_S', 'date', 'S_t_lag2', 'logV_t', 'AI_t', 'V_t_lag1', 'V_t_lag3'}) and 3 missing columns ({'close', 'time', 'Volume'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/RichardVR/GDELT_Alpha_and_Trading_Strategy/2020/ml_daily_dataset.csv (at revision ce5a7a887c09e813d8a5166f25998b3e4b7e0993)
              
              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.

time
string
close
float64
Volume
int64
2019-12-20
2.806
53,801
2019-12-23
2.8085
41,191
2019-12-24
2.8275
39,233
2019-12-26
2.849
33,112
2019-12-27
2.8295
52,671
2019-12-30
2.8335
46,907
2019-12-31
2.797
42,720
2020-01-02
2.825
72,462
2020-01-03
2.787
74,747
2020-01-06
2.79
59,574
2020-01-07
2.7935
59,467
2020-01-08
2.812
77,701
2020-01-09
2.802
53,120
2020-01-10
2.8135
60,791
2020-01-13
2.861
73,100
2020-01-14
2.8735
74,973
2020-01-15
2.866
55,199
2020-01-16
2.847
73,552
2020-01-17
2.8455
59,519
2020-01-21
2.7935
103,873
2020-01-22
2.765
71,187
2020-01-23
2.726
88,850
2020-01-24
2.684
72,573
2020-01-27
2.5965
118,990
2020-01-28
2.5795
100,472
2020-01-29
2.554
87,185
2020-01-30
2.524
99,807
2020-01-31
2.517
97,987
2020-02-03
2.507
132,097
2020-02-04
2.542
107,811
2020-02-05
2.5745
118,897
2020-02-06
2.593
99,305
2020-02-07
2.553
99,558
2020-02-10
2.5505
94,798
2020-02-11
2.583
88,486
2020-02-12
2.6
76,507
2020-02-13
2.613
98,112
2020-02-14
2.5995
62,129
2020-02-18
2.604
117,371
2020-02-19
2.606
95,836
2020-02-20
2.588
86,782
2020-02-21
2.608
103,132
2020-02-24
2.577
98,822
2020-02-25
2.578
78,488
2020-02-26
2.5725
65,062
2020-02-27
2.5715
110,451
2020-02-28
2.54
130,451
2020-03-02
2.595
106,887
2020-03-03
2.573
100,564
2020-03-04
2.586
58,219
2020-03-05
2.573
62,318
2020-03-06
2.5605
99,174
2020-03-09
2.5105
120,968
2020-03-10
2.5215
93,797
2020-03-11
2.502
74,673
2020-03-12
2.4725
116,117
2020-03-13
2.464
124,913
2020-03-16
2.3925
114,108
2020-03-17
2.3135
101,646
2020-03-18
2.151
105,933
2020-03-19
2.1855
101,067
2020-03-20
2.1715
88,783
2020-03-23
2.1005
84,924
2020-03-24
2.18
91,039
2020-03-25
2.204
74,583
2020-03-26
2.178
60,756
2020-03-27
2.172
54,310
2020-03-30
2.1555
49,844
2020-03-31
2.228
61,815
2020-04-01
2.1745
54,631
2020-04-02
2.2185
62,097
2020-04-03
2.1925
45,869
2020-04-06
2.2175
42,849
2020-04-07
2.2725
82,921
2020-04-08
2.26
67,085
2020-04-09
2.2595
62,382
2020-04-13
2.3025
56,786
2020-04-14
2.3295
62,840
2020-04-15
2.296
44,545
2020-04-16
2.291
37,843
2020-04-17
2.3445
51,926
2020-04-20
2.32
52,905
2020-04-21
2.2295
94,981
2020-04-22
2.29
54,995
2020-04-23
2.312
49,329
2020-04-24
2.337
38,437
2020-04-27
2.35
41,385
2020-04-28
2.3455
26,351
2020-04-29
2.3705
46,811
2020-04-30
2.344
52,269
2020-05-01
2.312
42,859
2020-05-04
2.3125
30,433
2020-05-05
2.3325
38,374
2020-05-06
2.347
45,058
2020-05-07
2.3805
52,220
2020-05-08
2.406
34,749
2020-05-11
2.38
59,013
2020-05-12
2.359
48,168
2020-05-13
2.346
43,795
2020-05-14
2.346
53,809
End of preview.

No dataset card yet

Downloads last month
269