Dataset Preview
Full Screen
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 22 new columns ({'ratings_2', 'original_publication_year', 'books_count', 'original_title', 'average_rating', 'ratings_count', 'best_book_id', 'image_url', 'work_text_reviews_count', 'book_id', 'ratings_5', 'language_code', 'work_id', 'authors', 'isbn13', 'isbn', 'ratings_4', 'ratings_3', 'small_image_url', 'ratings_1', 'work_ratings_count', 'title'}) and 2 missing columns ({'tag_id', 'count'}).

This happened while the csv dataset builder was generating data using

hf://datasets/nirajandhakal/goodreads-book-recommend/books.csv (at revision cc7a0d416b5cafe03ad0b87f6fcc1a0165945943)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              book_id: int64
              goodreads_book_id: int64
              best_book_id: int64
              work_id: int64
              books_count: int64
              isbn: string
              isbn13: double
              authors: string
              original_publication_year: double
              original_title: string
              title: string
              language_code: string
              average_rating: double
              ratings_count: int64
              work_ratings_count: int64
              work_text_reviews_count: int64
              ratings_1: int64
              ratings_2: int64
              ratings_3: int64
              ratings_4: int64
              ratings_5: int64
              image_url: string
              small_image_url: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3057
              to
              {'goodreads_book_id': Value(dtype='int64', id=None), 'tag_id': Value(dtype='int64', id=None), 'count': 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 1321, 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 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 22 new columns ({'ratings_2', 'original_publication_year', 'books_count', 'original_title', 'average_rating', 'ratings_count', 'best_book_id', 'image_url', 'work_text_reviews_count', 'book_id', 'ratings_5', 'language_code', 'work_id', 'authors', 'isbn13', 'isbn', 'ratings_4', 'ratings_3', 'small_image_url', 'ratings_1', 'work_ratings_count', 'title'}) and 2 missing columns ({'tag_id', 'count'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/nirajandhakal/goodreads-book-recommend/books.csv (at revision cc7a0d416b5cafe03ad0b87f6fcc1a0165945943)
              
              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.

goodreads_book_id
int64
tag_id
int64
count
int64
1
30,574
167,697
1
11,305
37,174
1
11,557
34,173
1
8,717
12,986
1
33,114
12,716
1
11,743
9,954
1
14,017
7,169
1
5,207
6,221
1
22,743
4,974
1
32,989
4,364
1
27,199
3,857
1
11,590
3,456
1
18,886
3,374
1
6,953
2,408
1
22,753
1,881
1
24,960
1,821
1
1,691
1,742
1
6,857
1,560
1
15,965
1,309
1
6,888
1,095
1
26,785
1,093
1
6,828
1,027
1
2,104
1,022
1
9,221
987
1
20,774
984
1
7,457
958
1
25,765
858
1
15,169
853
1
3,389
836
1
1,128
828
1
6,895
798
1
11,505
792
1
17,124
748
1
22,034
744
1
11,370
738
1
11,497
730
1
19,974
718
1
3,392
701
1
22,973
673
1
25,234
659
1
20,849
653
1
33,009
612
1
29,452
600
1
32,623
552
1
10,644
552
1
31,617
547
1
5,751
534
1
16,427
532
1
5,090
522
1
25,152
505
1
29,011
484
1
24,964
474
1
20,939
465
1
33,012
464
1
14,024
450
1
20,824
449
1
22,689
446
1
6,960
445
1
18,045
440
1
3,371
433
1
33,124
416
1
21,989
410
1
615
399
1
26,897
392
1
32,654
386
1
11,491
384
1
11,550
368
1
25,151
364
1
18,851
354
1
16,799
351
1
27,535
348
1
17,213
347
1
33,165
338
1
26,138
334
1
11,574
324
1
30,521
324
1
25,150
314
1
30,573
312
1
2,106
305
1
6,838
300
1
17,129
297
1
10,197
294
1
25,770
294
1
8,055
289
1
25,167
284
1
1,120
283
1
7,852
281
1
26,842
281
1
25,153
279
1
10,641
279
1
6,920
276
1
11,579
274
1
22,352
273
1
20,781
272
1
6,914
268
1
5,444
266
1
18,913
265
1
11,595
264
1
6,829
263
1
24,092
258
End of preview.
README.md exists but content is empty.
Downloads last month
67