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 16 new columns ({'Sex', 'Additional_Work', 'Sports_activity', 'Scholarship', 'Unnamed: 0', 'Listening_in_Class', 'Grade', 'Student_Age', 'Weekly_Study_Hours', 'Reading', 'Notes', 'Project_work', 'Id', 'Transportation', 'High_School_Type', 'Attendance'}) and 13 missing columns ({'vatLy', 'diemTBTuNhien', 'hoaHoc', 'diemTBXaHoi', 'sbd', 'van', 'diaLy', 'lichSu', 'gdcd', 'Unnamed: 12', 'ngoaiNgu', 'toan', 'sinhHoc'}).

This happened while the csv dataset builder was generating data using

hf://datasets/datnguyentien204/THPTQG/btl/student.csv (at revision 8842d74da1716656179a723013655833c0b1cfa9)

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
              Id: int64
              Student_Age: int64
              Sex: string
              High_School_Type: string
              Scholarship: string
              Additional_Work: string
              Sports_activity: string
              Transportation: string
              Weekly_Study_Hours: int64
              Attendance: string
              Reading: string
              Notes: string
              Listening_in_Class: string
              Project_work: string
              Grade: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2193
              to
              {'sbd': Value(dtype='int64', id=None), 'toan': Value(dtype='float64', id=None), 'van': Value(dtype='float64', id=None), 'ngoaiNgu': Value(dtype='float64', id=None), 'vatLy': Value(dtype='float64', id=None), 'hoaHoc': Value(dtype='float64', id=None), 'sinhHoc': Value(dtype='float64', id=None), 'diemTBTuNhien': Value(dtype='float64', id=None), 'lichSu': Value(dtype='float64', id=None), 'diaLy': Value(dtype='float64', id=None), 'gdcd': Value(dtype='float64', id=None), 'diemTBXaHoi': Value(dtype='float64', id=None), 'Unnamed: 12': Value(dtype='float64', 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 1577, 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 1191, 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 16 new columns ({'Sex', 'Additional_Work', 'Sports_activity', 'Scholarship', 'Unnamed: 0', 'Listening_in_Class', 'Grade', 'Student_Age', 'Weekly_Study_Hours', 'Reading', 'Notes', 'Project_work', 'Id', 'Transportation', 'High_School_Type', 'Attendance'}) and 13 missing columns ({'vatLy', 'diemTBTuNhien', 'hoaHoc', 'diemTBXaHoi', 'sbd', 'van', 'diaLy', 'lichSu', 'gdcd', 'Unnamed: 12', 'ngoaiNgu', 'toan', 'sinhHoc'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/datnguyentien204/THPTQG/btl/student.csv (at revision 8842d74da1716656179a723013655833c0b1cfa9)
              
              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.

sbd
int64
toan
float64
van
float64
ngoaiNgu
float64
vatLy
float64
hoaHoc
float64
sinhHoc
float64
diemTBTuNhien
float64
lichSu
float64
diaLy
float64
gdcd
float64
diemTBXaHoi
float64
Unnamed: 12
null
1,000,001
3.6
5
4
-1
-1
-1
-1
2.75
6
8.75
5.83
null
1,000,002
8.4
6.75
7.6
-1
-1
-1
-1
8.5
7.5
8.25
8.08
null
1,000,003
5.8
7.5
5
-1
-1
-1
-1
7.25
5.5
8.75
7.17
null
1,000,004
7.4
7.5
8.6
-1
-1
-1
-1
7.5
6.5
7.5
7.17
null
1,000,005
7.2
8.5
9
-1
-1
-1
-1
8
8.5
8.25
8.25
null
1,000,006
6.8
8.5
9.4
-1
-1
-1
-1
7
7.5
9.25
7.92
null
1,000,007
7.2
6
5
-1
-1
-1
-1
8
7.5
9
8.17
null
1,000,008
8
8
8
-1
-1
-1
-1
5.25
7
7
6.42
null
1,000,009
2.6
5.25
-1
-1
-1
-1
-1
5.25
6.75
-1
4
null
1,000,010
8.8
8
7
-1
-1
-1
-1
6.5
6.5
6.75
6.58
null
1,000,011
6.4
7.25
7.6
3.5
8
3
4.83
-1
-1
-1
-1
null
1,000,012
6.4
7.5
-1
-1
-1
-1
-1
4.75
5
8
5.92
null
1,000,013
8.2
7.75
6.4
-1
-1
-1
-1
7
7.5
7.75
7.42
null
1,000,014
5.8
5.5
6.4
-1
-1
-1
-1
8.5
8
-1
5.5
null
1,000,015
8.6
7.25
9.6
8.25
3.25
4.25
5.25
-1
-1
-1
-1
null
1,000,016
7.8
5.75
8.4
4.25
8
4.75
5.67
-1
-1
-1
-1
null
1,000,017
8.6
6.25
7
7
3.5
3.75
4.75
-1
-1
-1
-1
null
1,000,018
6.2
8.25
6.6
-1
-1
-1
-1
6.75
6.5
8.25
7.17
null
1,000,019
6.8
7.5
-1
-1
-1
-1
-1
7.25
6.25
8
7.17
null
1,000,020
-1
6.75
-1
-1
-1
-1
-1
8.5
8
-1
5.5
null
1,000,021
8
9
-1
-1
-1
-1
-1
7
6.25
8.75
7.33
null
1,000,022
7.8
8
7.6
-1
-1
-1
-1
7.75
6.5
9.25
7.83
null
1,000,023
6.8
6
6.8
2.5
5.5
3
3.67
-1
-1
-1
-1
null
1,000,024
8.6
6.5
9.8
7.75
8.5
6.75
7.67
-1
-1
-1
-1
null
1,000,025
7.2
5.5
5.8
3
6.5
3.75
4.42
-1
-1
-1
-1
null
1,000,026
7
6
9.8
6.5
2.25
3
3.92
-1
-1
-1
-1
null
1,000,027
7.6
5.75
4.8
7.25
6.5
6.25
6.67
-1
-1
-1
-1
null
1,000,028
8.6
7
8
4.75
8.75
4.5
6
-1
-1
-1
-1
null
1,000,029
8.4
6.5
9.8
-1
-1
-1
-1
5.25
9
6.25
6.83
null
1,000,030
8.6
7.5
7.6
6.25
7.75
3.75
5.92
-1
-1
-1
-1
null
1,000,031
7
7.75
8.8
-1
-1
-1
-1
6.25
5
9
6.75
null
1,000,032
4
7
2.2
-1
-1
-1
-1
4.5
5
5.5
5
null
1,000,033
6.6
6.5
5.6
-1
-1
-1
-1
6.5
5.75
7
6.42
null
1,000,034
8.2
7
8.4
-1
-1
-1
-1
7
6.25
8
7.08
null
1,000,035
7.4
6.25
7.4
-1
-1
-1
-1
4
6
8
6
null
1,000,036
7.6
7
8.6
-1
-1
-1
-1
5.75
6
8
6.58
null
1,000,037
7.6
6.5
7.2
6
4.75
4.5
5.08
-1
-1
-1
-1
null
1,000,038
6
6
5.6
-1
-1
-1
-1
8
6.25
7.25
7.17
null
1,000,039
7.8
8.75
6.6
-1
-1
-1
-1
6.25
8.5
8.25
7.67
null
1,000,040
8
8.25
8.8
-1
-1
-1
-1
8
5.5
7.75
7.08
null
1,000,041
7.4
8
7.2
-1
-1
-1
-1
6
6
7.5
6.5
null
1,000,042
5.8
6.5
7.2
-1
-1
-1
-1
7.25
4.75
7.25
6.42
null
1,000,043
7.2
7.25
4.8
4.5
8
3
5.17
-1
-1
-1
-1
null
1,000,044
2.6
3
-1
-1
-1
-1
-1
2
4.5
-1
2.17
null
1,000,045
6
7
3.4
-1
-1
-1
-1
6.5
5.5
7.5
6.5
null
1,000,046
8
6.25
4.6
7.25
5.5
4.75
5.83
-1
-1
-1
-1
null
1,000,047
7.2
7.75
7.6
-1
-1
-1
-1
7.25
7
7.5
7.25
null
1,000,048
8
8.5
9.4
-1
-1
-1
-1
8
6.25
9
7.75
null
1,000,049
7.8
7
7.4
3.75
7.75
5.75
5.75
-1
-1
-1
-1
null
1,000,050
7.4
7.25
-1
-1
-1
-1
-1
4.75
6
7.25
6
null
1,000,051
7.8
5
6.4
7
4
3.25
4.75
-1
-1
-1
-1
null
1,000,052
6.8
8.75
9
-1
-1
-1
-1
7.25
6.75
8.5
7.5
null
1,000,053
6.2
6.25
5.2
-1
-1
-1
-1
6.5
6.75
8.5
7.25
null
1,000,054
8.4
8
9
-1
-1
-1
-1
8.5
8.25
9.25
8.67
null
1,000,055
7
7
9.4
-1
-1
-1
-1
5.75
8
7.5
7.08
null
1,000,056
2
2.25
3.2
-1
-1
-1
-1
3.5
2.75
3.5
3.25
null
1,000,057
7.8
8.25
8
-1
-1
-1
-1
8.25
8.25
8
8.17
null
1,000,058
2.2
5.25
3.4
-1
-1
-1
-1
5
3.25
6.25
4.83
null
1,000,059
8.2
6.25
9.6
4.5
7.75
3.5
5.25
-1
-1
-1
-1
null
1,000,060
8.2
7.5
7.2
-1
-1
-1
-1
-1
-1
-1
-1
null
1,000,061
5.6
6.5
9
-1
-1
-1
-1
9.25
7.25
8.5
8.33
null
1,000,062
4.6
6
-1
-1
-1
-1
-1
6.25
6.25
-1
4.17
null
1,000,063
7.4
6.75
9.2
-1
-1
-1
-1
8
6.5
9
7.83
null
1,000,064
6.8
8.5
7.6
-1
-1
-1
-1
8
8
8.25
8.08
null
1,000,065
8.6
8.5
8.6
-1
-1
-1
-1
8.25
7.5
9.25
8.33
null
1,000,066
7.8
6.25
8.8
7
3.5
4.5
5
-1
-1
-1
-1
null
1,000,067
3
6.5
4.6
-1
-1
-1
-1
5
5.75
-1
3.58
null
1,000,068
8.6
8
8
-1
-1
-1
-1
8.75
8.75
9
8.83
null
1,000,069
8.6
8
7.4
7
4.75
4.5
5.42
-1
-1
-1
-1
null
1,000,070
6.4
6.5
7.6
-1
-1
-1
-1
-1
-1
-1
-1
null
1,000,071
7.6
8.25
6.6
6.25
5
3.25
4.83
-1
-1
-1
-1
null
1,000,072
5.2
4.75
2.6
-1
-1
-1
-1
5
5.5
5.25
5.25
null
1,000,073
8.4
7.75
9.8
6.75
6.75
4.25
5.92
-1
-1
-1
-1
null
1,000,074
7.6
6.5
-1
7.5
2.5
1.75
3.92
-1
-1
-1
-1
null
1,000,075
5.4
7
5.2
-1
-1
-1
-1
8.75
8
9.25
8.67
null
1,000,077
8.4
8.25
9.4
-1
-1
-1
-1
8.5
7
8.25
7.92
null
1,000,079
5.6
6.25
6
-1
-1
-1
-1
7.25
6.25
7.75
7.08
null
1,000,080
8.8
6
9.4
7.5
4.75
4
5.42
-1
-1
-1
-1
null
1,000,081
6.6
7.5
4
-1
-1
-1
-1
5
5
7.25
5.75
null
1,000,082
9
9.5
8
-1
-1
-1
-1
7.25
6.75
8.25
7.42
null
1,000,083
6.8
8.75
5
-1
-1
-1
-1
4.5
5.75
6.25
5.5
null
1,000,084
7.8
9
8.8
-1
-1
-1
-1
8.5
8.75
8.25
8.5
null
1,000,085
7.6
5.5
8.2
-1
-1
-1
-1
5.75
6.25
7.75
6.58
null
1,000,086
6.8
7
-1
-1
-1
-1
-1
6.5
7
7.5
7
null
1,000,087
8.4
8
9.4
-1
-1
-1
-1
6.75
6.5
8.25
7.17
null
1,000,088
8.2
8.75
8
-1
-1
-1
-1
7.25
6.5
8
7.25
null
1,000,089
7.8
7.25
6
7.5
4
3
4.83
-1
-1
-1
-1
null
1,000,090
7
8
6.6
-1
-1
-1
-1
6
6.5
7.75
6.75
null
1,000,091
7.8
7.25
7.8
-1
-1
-1
-1
7.5
6.5
9.5
7.83
null
1,000,092
6.8
8.5
8
-1
-1
-1
-1
6.5
8
8.5
7.67
null
1,000,093
8.8
7.75
-1
5.75
6.75
6
6.17
-1
-1
-1
-1
null
1,000,095
8
6
9
-1
-1
-1
-1
6.5
8.75
9.25
8.17
null
1,000,096
7.6
8.25
7.8
-1
-1
-1
-1
6.75
7.75
9
7.83
null
1,000,097
8.2
8.5
9.6
-1
-1
-1
-1
7.75
7
8.5
7.75
null
1,000,098
7.4
8.5
8
-1
-1
-1
-1
8.5
7.25
8.25
8
null
1,000,099
7.6
8
9.2
-1
-1
-1
-1
5
8.5
8
7.17
null
1,000,100
3.8
5.5
5.6
-1
-1
-1
-1
5.5
4.25
7.75
5.83
null
1,000,101
8.2
6.5
7.6
5.25
7.25
3.25
5.25
-1
-1
-1
-1
null
1,000,102
8.8
7.25
9
4.75
8
8
6.92
-1
-1
-1
-1
null
1,000,103
8.4
8.5
7
8.5
8.75
6.5
7.92
-1
-1
-1
-1
null
End of preview.

No dataset card yet

Downloads last month
30