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

This happened while the csv dataset builder was generating data using

hf://datasets/vivekkopthsd/BookRec-models/data/books.csv (at revision 0806b3a693676ea3a0435e6b18506c99ba511919), ['hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/book_tags.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/books.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/ratings.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/tags.csv']

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.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              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, "' + 3075
              to
              {'goodreads_book_id': Value('int64'), 'tag_id': Value('int64'), 'count': 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 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              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 ({'isbn', 'work_text_reviews_count', 'original_title', 'book_id', 'books_count', 'ratings_3', 'ratings_2', 'isbn13', 'language_code', 'ratings_1', 'title', 'image_url', 'original_publication_year', 'authors', 'work_ratings_count', 'average_rating', 'small_image_url', 'ratings_4', 'ratings_5', 'ratings_count', 'best_book_id', 'work_id'}) and 2 missing columns ({'count', 'tag_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/vivekkopthsd/BookRec-models/data/books.csv (at revision 0806b3a693676ea3a0435e6b18506c99ba511919), ['hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/book_tags.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/books.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/ratings.csv', 'hf://datasets/vivekkopthsd/BookRec-models@0806b3a693676ea3a0435e6b18506c99ba511919/data/tags.csv']
              
              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.

No dataset card yet

Downloads last month
41

Space using vivekkopthsd/BookRec-models 1