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 2 new columns ({'gender', 'FirstName'}) and 2 missing columns ({'PID', 'MAGPaperID'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Matthewfung/mentorship_dataset/Mentorship (Original)/first_name_gender.csv (at revision b44042d9b0b8323cb064b6bcc8bc128d4f30c78e)

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 2013, 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
              FirstName: string
              gender: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 493
              to
              {'PID': Value(dtype='int64', id=None), 'MAGPaperID': 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 1396, 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 1045, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1029, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1124, 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 1884, 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 2015, 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 ({'gender', 'FirstName'}) and 2 missing columns ({'PID', 'MAGPaperID'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Matthewfung/mentorship_dataset/Mentorship (Original)/first_name_gender.csv (at revision b44042d9b0b8323cb064b6bcc8bc128d4f30c78e)
              
              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.

PID
int64
MAGPaperID
int64
1
1,519,578,210
1
1,972,926,514
1
1,981,764,347
1
1,982,956,265
1
1,990,434,553
1
1,993,769,180
1
1,999,324,548
1
2,001,571,181
1
2,003,075,669
1
2,005,066,437
1
2,008,402,640
1
2,015,376,003
1
2,021,338,128
1
2,024,923,495
1
2,025,192,094
1
2,026,354,811
1
2,028,047,007
1
2,035,236,302
1
2,047,375,012
1
2,049,166,497
1
2,051,911,325
1
2,057,898,689
1
2,061,209,400
1
2,066,206,448
1
2,070,796,169
1
2,073,504,998
1
2,076,398,027
1
2,090,387,004
1
2,098,531,347
1
2,138,727,818
1
2,139,598,954
1
2,146,540,481
1
2,158,010,000
1
2,160,524,047
1
2,160,586,173
1
2,170,556,807
1
2,171,128,983
1
2,171,525,519
1
2,181,768,539
1
2,183,979,988
1
2,213,191,115
1
2,278,847,662
1
2,290,097,622
1
2,313,127,444
1
2,592,168,570
1
2,623,905,962
1
2,739,236,277
1
2,767,375,372
1
2,777,458,253
1
2,787,859,100
1
2,794,028,508
1
2,795,522,822
1
2,808,881,878
1
2,894,413,156
1
2,912,439,398
1
2,914,628,209
1
2,942,455,025
1
2,950,285,081
1
2,967,465,238
1
2,969,341,159
1
2,976,866,714
1
2,981,071,947
1
2,982,793,273
1
2,985,360,922
1
2,988,083,165
1
2,995,223,812
1
2,998,883,635
1
3,015,634,900
1
3,035,423,646
1
3,042,161,928
1
3,082,450,678
1
41,405,670
1
61,692,707
2
1,137,048,349
2
1,538,084,273
2
1,553,789,616
2
1,823,299,575
2
1,971,893,369
2
1,972,926,514
2
1,973,292,391
2
1,982,956,265
2
1,987,633,207
2
1,991,892,677
2
2,003,614,328
2
2,004,138,703
2
2,008,513,563
2
2,023,480,448
2
2,024,471,230
2
2,025,610,049
2
2,028,047,007
2
2,045,938,920
2
2,046,056,819
2
2,053,576,047
2
2,060,095,666
2
2,073,698,878
2
2,078,352,770
2
2,080,300,913
2
2,088,830,479
2
2,099,224,730
2
2,099,432,445
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
0