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 5 new columns ({'lecture_id', 'part', 'video_length', 'tags', 'deployed_at'}) and 3 missing columns ({'coupon_type', 'coupon_id', 'duration'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Unggi/ednet5000_raw_data/ednet_content/lectures.csv (at revision a6ffb6231d8d86fffcef23c9e47c19818aff809d)

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
              lecture_id: string
              part: int64
              tags: int64
              video_length: int64
              deployed_at: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 832
              to
              {'coupon_id': Value('string'), 'coupon_type': Value('string'), 'duration': 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 1455, 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 1054, 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 5 new columns ({'lecture_id', 'part', 'video_length', 'tags', 'deployed_at'}) and 3 missing columns ({'coupon_type', 'coupon_id', 'duration'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Unggi/ednet5000_raw_data/ednet_content/lectures.csv (at revision a6ffb6231d8d86fffcef23c9e47c19818aff809d)
              
              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.

coupon_id
string
coupon_type
string
duration
int64
c1
type-0
4,320,000,000
c2
type-0
5,184,000,000
c3
type-0
7,776,000,000
c4
type-0
8,640,000,000
c5
type-0
15,552,000,000
c6
type-0
17,280,000,000
c7
type-1
86,400,000
c8
type-1
172,800,000
c9
type-1
1,296,000,000
c10
type-1
1,382,400,000
c11
type-1
2,592,000,000
c12
type-1
2,678,400,000
c13
type-1
3,715,200,000
c14
type-1
5,184,000,000
c15
type-1
5,270,400,000
c16
type-1
15,552,000,000
c17
type-2
432,000,000
c18
type-3
1,000,000
c19
type-3
36,000,000
c20
type-3
84,200,000
c21
type-3
86,400,000
c22
type-3
86,500,000
c23
type-3
172,800,000
c24
type-3
259,200,000
c25
type-3
345,600,000
c26
type-3
360,000,000
c27
type-3
432,000,000
c28
type-3
604,300,000
c29
type-3
604,800,000
c30
type-3
691,200,000
c31
type-3
864,000,000
c32
type-3
950,400,000
c33
type-3
1,000,000,000
c34
type-3
1,209,600,000
c35
type-3
1,296,000,000
c36
type-3
1,382,400,000
c37
type-3
1,814,400,000
c38
type-3
2,592,000,000
c39
type-3
2,678,400,000
c40
type-3
2,851,200,000
c41
type-3
2,937,600,000
c42
type-3
3,369,600,000
c43
type-3
3,456,000,000
c44
type-3
3,888,000,000
c45
type-3
4,060,800,000
c46
type-3
4,320,000,000
c47
type-3
5,183,999,000
c48
type-3
5,184,000,000
c49
type-3
6,048,000,000
c50
type-3
7,257,600,000
c51
type-3
7,776,000,000
c52
type-3
7,862,400,000
c53
type-3
8,640,000,000
c54
type-3
9,676,800,000
c55
type-3
10,000,000,000
c56
type-3
10,368,000,000
c57
type-3
11,923,200,000
c58
type-3
12,960,000,000
c59
type-3
13,046,400,000
c60
type-3
13,392,000,000
c61
type-3
14,947,200,000
c62
type-3
15,552,000,000
c63
type-3
15,638,400,000
c64
type-3
15,780,000,000
c65
type-3
25,920,000,000
c66
type-3
28,512,000,000
c67
type-3
31,104,000,000
c68
type-3
31,536,000,000
c69
type-3
31,622,400,000
c70
type-3
60,480,000,000
c71
type-3
99,999,999,000
c72
type-3
864,000,000,000
c73
type-4
1,209,600,000
c74
type-4
2,592,000,000
c75
type-4
4,320,000,000
c76
type-4
5,184,000,000
c77
type-4
7,776,000,000
c78
type-4
8,640,000,000
c79
type-4
15,552,000,000
c80
type-4
31,536,000,000
c81
type-4
63,072,000,000
c82
type-5
604,800,000
c83
type-5
2,592,000,000
c84
type-5
4,320,000,000
c85
type-5
5,184,000,000
c86
type-5
7,776,000,000
c87
type-5
8,640,000,000
c88
type-5
15,552,000,000
c89
type-6
5,184,000,000
c90
type-6
15,552,000,000
c91
type-7
84,200,000
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.

No dataset card yet

Downloads last month
164