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 2 new columns ({'imdb_id', 'Unnamed: 0'}) and 26 missing columns ({'Music', 'script', 'Drama', 'Fantasy', 'Mystery', 'vote_average', 'Thriller', 'language', 'War', 'Romance', 'Adventure', 'bechdel_id', 'vote_count', 'Animation', 'script_date', 'Comedy', 'Western', 'Science Fiction', 'Crime', 'Action', '0', 'Family', 'release_year', 'History', 'Horror', 'popularity'}). This happened while the csv dataset builder was generating data using hf://datasets/mocboch/movie_scripts/Table_2_Metadata_No_Scripts.csv (at revision 834cef3b1d5962f4a0aa27e6a4183a2046dd767f) 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 Unnamed: 0: int64 imdb_id: int64 title: string overview: string bechdel_rating: int64 -- schema metadata -- pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 842 to {'0': Value(dtype='int64', id=None), 'script_date': Value(dtype='string', id=None), 'script': Value(dtype='string', id=None), 'bechdel_id': Value(dtype='int64', id=None), 'title': Value(dtype='string', id=None), 'release_year': Value(dtype='int64', id=None), 'bechdel_rating': Value(dtype='int64', id=None), 'language': Value(dtype='string', id=None), 'popularity': Value(dtype='float64', id=None), 'vote_average': Value(dtype='float64', id=None), 'vote_count': Value(dtype='int64', id=None), 'overview': Value(dtype='string', id=None), 'Drama': Value(dtype='int64', id=None), 'Romance': Value(dtype='int64', id=None), 'Adventure': Value(dtype='int64', id=None), 'Fantasy': Value(dtype='int64', id=None), 'Family': Value(dtype='int64', id=None), 'Mystery': Value(dtype='int64', id=None), 'Crime': Value(dtype='int64', id=None), 'Thriller': Value(dtype='int64', id=None), 'War': Value(dtype='int64', id=None), 'Comedy': Value(dtype='int64', id=None), 'Music': Value(dtype='int64', id=None), 'Western': Value(dtype='int64', id=None), 'Horror': Value(dtype='int64', id=None), 'Science Fiction': Value(dtype='int64', id=None), 'Action': Value(dtype='int64', id=None), 'Animation': Value(dtype='int64', id=None), 'History': 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 1534, 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 1155, 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 2 new columns ({'imdb_id', 'Unnamed: 0'}) and 26 missing columns ({'Music', 'script', 'Drama', 'Fantasy', 'Mystery', 'vote_average', 'Thriller', 'language', 'War', 'Romance', 'Adventure', 'bechdel_id', 'vote_count', 'Animation', 'script_date', 'Comedy', 'Western', 'Science Fiction', 'Crime', 'Action', '0', 'Family', 'release_year', 'History', 'Horror', 'popularity'}). This happened while the csv dataset builder was generating data using hf://datasets/mocboch/movie_scripts/Table_2_Metadata_No_Scripts.csv (at revision 834cef3b1d5962f4a0aa27e6a4183a2046dd767f) 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.
0
int64 | script_date
string | script
string | bechdel_id
int64 | title
string | release_year
int64 | bechdel_rating
int64 | language
string | popularity
float64 | vote_average
float64 | vote_count
int64 | overview
string | Drama
int64 | Romance
int64 | Adventure
int64 | Fantasy
int64 | Family
int64 | Mystery
int64 | Crime
int64 | Thriller
int64 | War
int64 | Comedy
int64 | Music
int64 | Western
int64 | Horror
int64 | Science Fiction
int64 | Action
int64 | Animation
int64 | History
int64 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,958 | null | " GRAND HOTEL\r\n\r\n\r\n\r\n (...TRUNCATED) | 1,328 | Grand Hotel | 1,932 | 3 | en | 85.188 | 6.959 | 294 | Guests at a posh Berlin hotel struggle through worry, scandal, and heartache. | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
32,138 | March 1939 | "FADE IN -- Title:\r\n\r\nFor nearly forty years this story has given faithful service\r\nto the You(...TRUNCATED) | 174 | Wizard of Oz, The | 1,939 | 3 | en | 81.243 | 7.6 | 5,346 | "Young Dorothy finds herself in a magical world where she makes friends with a lion, a scarecrow and(...TRUNCATED) | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
33,467 | null | "Citizen Kane \r\n\r\n By\r\n\r\n (...TRUNCATED) | 1,266 | Citizen Kane | 1,941 | 1 | en | 331.301 | 8.008 | 5,312 | "Newspaper magnate Charles Foster Kane is taken from his mother as a boy and made the ward of a rich(...TRUNCATED) | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
113,101 | null | "\"FOUR ROOMS\"\r\n\r\n Screenplay by\r\n\r\n (...TRUNCATED) | 986 | Four rooms | 1,995 | 3 | en | 21.231 | 5.829 | 2,568 | "It's Ted the Bellhop's first night on the job...and the hotel's very unusual guests are about to pl(...TRUNCATED) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
42,192 | null | "FADE IN:\r\n\nINT. DINING HALL - SARAH SIDDONS SOCIETY - NIGHT\r\n\r\nIt is not a large room and ja(...TRUNCATED) | 139 | All About Eve | 1,950 | 3 | en | 18.633 | 8.1 | 1,462 | "From the moment she glimpses her idol at the stage door, Eve Harrington is determined to take the r(...TRUNCATED) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
43,014 | May 1949 | "\tSUNSET BOULEVARD\r\n\r\n\r\n Charles Brackett\r\n Billy Wilder\r\n D.M. Marshman, Jr.\r\n\r\n (...TRUNCATED) | 608 | Sunset Blvd. | 1,950 | 3 | en | 60.379 | 8.31 | 2,470 | "A hack screenwriter writes a screenplay for a former silent film star who has faded into Hollywood (...TRUNCATED) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
44,079 | October 1950 | "STRANGERS ON A TRAIN\r\n\r\n by\r\n\r\n Raymond Chandler an(...TRUNCATED) | 1,417 | Strangers on a Train | 1,951 | 2 | en | 25.712 | 7.68 | 1,598 | "Two strangers meet on a train. They’ve never met before. Both of whom have someone they’d like (...TRUNCATED) | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
45,793 | August 1952 | " FROM HERE TO ETERNITY\r\n\r\n\r\n \r\n (...TRUNCATED) | 4,071 | From Here to Eternity | 1,953 | 3 | en | 21.893 | 7.309 | 599 | "In 1941 Hawaii, a private is cruelly punished for not boxing on his unit's team, while his captain'(...TRUNCATED) | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
47,673 | July 1953 | " \"WHITE CHRISTMAS\"\r\n\r\n (...TRUNCATED) | 1,391 | White Christmas | 1,954 | 3 | en | 16.61 | 7.233 | 482 | "Two talented song-and-dance men team up after the war to become one of the hottest acts in show bus(...TRUNCATED) | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
48,545 | null | " REBEL WITHOUT A CAUSE\r\n\r\n by\r\n\r\n (...TRUNCATED) | 2,926 | Rebel Without a Cause | 1,955 | 1 | en | 28.732 | 7.542 | 1,557 | "After moving to a new town, troublemaking teen Jim Stark is supposed to have a clean slate, althoug(...TRUNCATED) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
End of preview.
Subsets and Splits