Dataset Preview
Viewer
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 ({'book', 'user_id', 'rating', 'user'}) and 1 missing columns ({'title'}).

This happened while the csv dataset builder was generating data using

hf://datasets/hqasmei/collaborative-filtering-dataset/filtered_data.csv (at revision 5a7d4e2cc6481ebd711f42b0c0397d1fc3d07a15)

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
              rating: double
              book_id: int64
              user_id: string
              user: int64
              book: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 811
              to
              {'book_id': Value(dtype='int64', id=None), 'title': Value(dtype='string', 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 4 new columns ({'book', 'user_id', 'rating', 'user'}) and 1 missing columns ({'title'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/hqasmei/collaborative-filtering-dataset/filtered_data.csv (at revision 5a7d4e2cc6481ebd711f42b0c0397d1fc3d07a15)
              
              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? Open a discussion for direct support.

book_id
int64
title
string
6,066,819
Best Friends Forever
54,270
Mein Kampf
38,568
A Quick Bite Argeneau 1
38,562
A Bite to Remember Argeneau 5
175,242
Every Dead Thing Charlie Parker 1
300,044
Knife Edge Noughts Crosses 2
18,528,190
Men Explain Things to Me
3,475,268
White Witch Black Curse The Hollows 7
19,057
I Am the Messenger
19,398,490
All the Light We Cannot See
18,600
Touching the Void The True Story of One Mans Miraculous Survival
26,889,576
The Big Short Inside the Doomsday Machine
15,676
Strangers
29,780,253
Born a Crime Stories From a South African Childhood
8,369,681
Prom and Prejudice
14,069
Throne of Jade Temeraire 2
14,064
I Am Legend
17,980,013
Taunting Destiny The Fae Chronicles 2
13,143
Pop Goes the Weasel Alex Cross 5
17,325,147
Left Drowning Left Drowning 1
186,074
The Name of the Wind The Kingkiller Chronicle 1
772,852
The Cross and the Switchblade
14,975
Labyrinth Languedoc 1
477,338
Blue is for Nightmares Blue is for Nightmares 1
22,738,563
We Should All Be Feminists
659,622
Garden of Shadows Dollanganger 5
5,338
A Christmas Carol and Other Christmas Writings
17,950,614
UnDivided Unwind 4
676,924
Betrayed House of Night 2
147,844
First Riders Call Green Rider 2
147,843
Green Rider Green Rider 1
4,954,833
Brooklyn
17,730,406
Love Thy Neighbour FriendZoned 2
1,375,896
Queste Septimus Heap 4
64,481
A Northern Light
13,878
Prince of the Blood Krondors Sons 1
13,872
Geek Love
191,113
Dont Let the Pigeon Drive the Bus
191,117
Dont Let the Pigeon Stay Up Late
59,980
Batman Year One
6,495,359
The Scarpetta Factor Kay Scarpetta 17
25,065,629
Hunger Makes Me a Modern Girl
60,223
See Jane Score Chinooks Hockey Team 2
60,220
Simply Irresistible Chinooks Hockey Team 1
8,683,812
The Paris Wife
14,358
A Ring of Endless Light Austin Family 4
113,205
Heart of a Dog
71,870
Darkness Be My Friend Tomorrow 4
20,881,071
The Burning Room Harry Bosch 19 Harry Bosch Universe 26
6,936,382
Anna and the French Kiss Anna and the French Kiss 1
20,499,240
Foxglove Summer Peter Grant 5
28,815,474
The Couple Next Door
9,440,448
Buried Prey Lucas Davenport 21
6,697
Little Altars Everywhere
20,588,698
Not That Kind of Girl A Young Woman Tells You What Shes Learned
13,323,842
Predestined Existence Trilogy 2
6,320,534
Under the Dome
15,793,074
Best Kept Secret The Clifton Chronicles 3
639,864
Autobiography of a Yogi
22,200
Count Zero Sprawl 2
22,206
Lullaby
22,205
This Lullaby
71,332
Push
73,070
It Had to Be You Chicago Stars 1
298,230
Agnes Grey
17,970,255
Into the Deep Into the Deep 1
6,068,551
Shiver The Wolves of Mercy Falls 1
8,520,362
The Grand Design
7,907,803
An Object of Beauty
17,257,990
Fire Inside Chaos 2
10,534
The Art of War
10,538
The Life and Times of the Thunderbolt Kid
3,432,478
The Forest of Hands and Teeth The Forest of Hands and Teeth 1
74,532
Georges Marvellous Medicine
17,125
One Day in the Life of Ivan Denisovich
3,678,651
Bad Girls Dont Die Bad Girls Dont Die 1
402,093
Shgun Asian Saga 1
5,345
The Innocent Man Murder and Injustice in a Small Town
5,346
The Last Juror
22,716,194
Inside the OBriens
1,362
The Histories
22,463
The Origin of Species
15,751,404
David and Goliath Underdogs Misfits and the Art of Battling Giants
775,346
The Little Friend
8,131,227
One of Our Thursdays Is Missing Thursday Next 6
538,845
Quo Vadis
6,953,500
Insatiable Insatiable 1
7,076,703
Survivor
7,076,706
The Search
8,664,353
Unbroken A World War II Story of Survival Resilience and Redemption
8,044,557
All My Friends Are Dead
25,251,757
You Will Know Me
15,733,851
You Had Me At Hello
6,578,293
Dog Days Diary of a Wimpy Kid 4
15,719
Marvel 1602
9,256,414
Hereafter Hereafter 1
16,204
Daisy Miller
15,778,138
Just for Now Sea Breeze 4
349,473
Blaze
48,002
Thief of Time Discworld 26 Death 5
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
20
Add dataset card

Space using hqasmei/collaborative-filtering-dataset 1