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 15 new columns ({'POINTS_DE_VIE', 'NumeroWin', 'POINT_DEFENSE_SPECIALE', 'POINTS_DEFFENCE', 'POINTS_VITESSE', 'NOMBRE_GENERATIONS', 'TYPE_1', 'POINTS_ATTAQUE', 'POINTS_ATTAQUE_SPECIALE', 'TYPE_2', 'NUMERO', 'Taux de victoire', 'NOM', 'NumeroBittle', 'LEGENDAIRE'}) and 3 missing columns ({'Second_pokemon', 'First_pokemon', 'Winner'}).

This happened while the csv dataset builder was generating data using

hf://datasets/GGBooond/Pokemon/dataset.csv (at revision e4735af2f90a8e68cd7e17691cc38d89cc01b680)

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 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              NUMERO: int64
              NOM: string
              TYPE_1: string
              TYPE_2: string
              POINTS_DE_VIE: int64
              POINTS_ATTAQUE: int64
              POINTS_DEFFENCE: int64
              POINTS_ATTAQUE_SPECIALE: int64
              POINT_DEFENSE_SPECIALE: int64
              POINTS_VITESSE: int64
              NOMBRE_GENERATIONS: int64
              LEGENDAIRE: int64
              NumeroBittle: int64
              NumeroWin: int64
              Taux de victoire: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2103
              to
              {'First_pokemon': Value('int64'), 'Second_pokemon': Value('int64'), 'Winner': 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 1456, 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 1055, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, 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 1702, 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 1833, 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 15 new columns ({'POINTS_DE_VIE', 'NumeroWin', 'POINT_DEFENSE_SPECIALE', 'POINTS_DEFFENCE', 'POINTS_VITESSE', 'NOMBRE_GENERATIONS', 'TYPE_1', 'POINTS_ATTAQUE', 'POINTS_ATTAQUE_SPECIALE', 'TYPE_2', 'NUMERO', 'Taux de victoire', 'NOM', 'NumeroBittle', 'LEGENDAIRE'}) and 3 missing columns ({'Second_pokemon', 'First_pokemon', 'Winner'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/GGBooond/Pokemon/dataset.csv (at revision e4735af2f90a8e68cd7e17691cc38d89cc01b680)
              
              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.

First_pokemon
int64
Second_pokemon
int64
Winner
int64
266
298
298
702
701
701
191
668
668
237
683
683
151
231
151
657
752
657
192
134
134
73
545
545
220
763
763
302
31
31
442
130
130
701
624
701
15
283
283
151
87
151
269
462
269
763
448
448
143
263
263
365
240
240
499
774
499
563
578
563
440
687
687
373
441
441
654
671
671
121
355
121
609
649
649
270
708
270
460
568
568
626
767
767
139
451
139
694
747
694
455
549
549
181
301
301
208
184
184
536
365
536
260
381
381
471
269
269
621
287
287
406
134
406
592
503
503
564
242
242
579
242
242
200
719
200
376
135
376
76
441
441
667
645
645
475
400
475
3
737
737
435
45
435
231
146
146
510
715
715
456
260
260
164
751
751
424
754
424
258
779
258
360
208
208
723
646
646
384
533
533
734
673
673
141
721
141
244
741
244
509
217
509
633
44
633
595
719
595
606
40
606
368
598
368
746
584
746
350
187
350
303
198
303
169
701
701
569
115
115
231
172
172
71
440
71
659
610
610
570
557
557
712
40
712
451
352
451
661
95
95
540
4
540
130
319
130
125
418
418
309
276
276
579
612
612
716
80
80
482
535
535
376
37
37
6
328
328
343
159
159
509
574
574
546
530
546
486
229
229
686
213
213
304
386
386
514
732
732
161
757
161
150
265
265
436
701
701
221
265
265
436
603
603
242
365
242
792
251
792
End of preview.
README.md exists but content is empty.
Downloads last month
9