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 4 new columns ({'user_id', 'rating', 'is_read', 'is_reviewed'}) and 1 missing columns ({'book_id_csv'}).
This happened while the csv dataset builder was generating data using
hf://datasets/zhangt766/Goodreads/raw/goodreads_interactions.csv (at revision a9ae14f909b32dc7d9ff863060ebb6351a0d8993)
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 1871, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, 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 2293, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
user_id: int64
book_id: int64
is_read: int64
rating: int64
is_reviewed: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 824
to
{'book_id_csv': Value(dtype='int64', id=None), 'book_id': Value(dtype='int64', id=None)}
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 1438, 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 1050, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 4 new columns ({'user_id', 'rating', 'is_read', 'is_reviewed'}) and 1 missing columns ({'book_id_csv'}).
This happened while the csv dataset builder was generating data using
hf://datasets/zhangt766/Goodreads/raw/goodreads_interactions.csv (at revision a9ae14f909b32dc7d9ff863060ebb6351a0d8993)
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.
book_id_csv int64 | book_id int64 |
|---|---|
0 | 34,684,622 |
1 | 34,536,488 |
2 | 34,017,076 |
3 | 71,730 |
4 | 30,422,361 |
5 | 33,503,613 |
6 | 33,517,540 |
7 | 34,467,031 |
8 | 6,383,669 |
9 | 486,625 |
10 | 19,161,852 |
11 | 32,620,335 |
12 | 13,152,847 |
13 | 25,735,618 |
14 | 24,375,664 |
15 | 35,097,384 |
16 | 34,974,754 |
17 | 836,610 |
18 | 6,565,837 |
19 | 25,899,336 |
20 | 26,114,127 |
21 | 18,245,960 |
22 | 6,392,944 |
23 | 22,078,596 |
24 | 6,644,782 |
25 | 46,164 |
26 | 27,833,614 |
27 | 10,419,045 |
28 | 255,127 |
29 | 28,251,002 |
30 | 23,168,277 |
31 | 32,075,825 |
32 | 30,622,471 |
33 | 22,591,134 |
34 | 31,580,409 |
35 | 133,394 |
36 | 23,848,190 |
37 | 16,130 |
38 | 30,139,664 |
39 | 32,191,710 |
40 | 29,939,161 |
41 | 45,252 |
42 | 32,283,423 |
43 | 43,615 |
44 | 29,905,580 |
45 | 18,364,442 |
46 | 873,993 |
47 | 26,721,984 |
48 | 8,879,516 |
49 | 5,526 |
50 | 2,279,538 |
51 | 5,043 |
52 | 13,543,159 |
53 | 18,667,753 |
54 | 23,149,647 |
55 | 8,138,071 |
56 | 7,268,003 |
57 | 125,466 |
58 | 31,138,556 |
59 | 18,633,693 |
60 | 15,849,559 |
61 | 17,130,524 |
62 | 22,055,137 |
63 | 27,523 |
64 | 20,821,043 |
65 | 23,677,430 |
66 | 428,263 |
67 | 23,002,924 |
68 | 6,480,781 |
69 | 28,820,024 |
70 | 1,995,421 |
71 | 29,430,012 |
72 | 29,570,143 |
73 | 9,460,786 |
74 | 210,817 |
75 | 10,893,214 |
76 | 7,648,967 |
77 | 16,174,968 |
78 | 33,282,947 |
79 | 18,775,365 |
80 | 11,387,515 |
81 | 30,211,956 |
82 | 31,823,677 |
83 | 25,319,219 |
84 | 10,884 |
85 | 29,983,426 |
86 | 31,184,479 |
87 | 26,827,093 |
88 | 641,601 |
89 | 33,156,573 |
90 | 33,232,571 |
91 | 24,396,144 |
92 | 22,320 |
93 | 22,750,073 |
94 | 29,893,493 |
95 | 27,209,130 |
96 | 28,114,110 |
97 | 1,317,946 |
98 | 25,814,544 |
99 | 17,554,595 |
End of preview.
No dataset card yet
- Downloads last month
- 11