Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      Schema at index 2 was different: 
document_id: string
client: struct<numero_client: string, nom: string, prenom: string, date_naissance: string, adresse: string, carte_nationale: string, permis_conduire: string>
type_document: string
type_assurance: string
numero_contrat: string
agent: struct<nom: string, prenom: string, code: string, bureau: string>
date_creation: string
details_assurance: struct<type_assurance: string, numero_contrat: string, prime_annuelle: double, franchise: double, date_effet: string, duree_contrat: int64, vehicule: struct<marque: string, modele: string, annee: int64, immatriculation: string, usage: string>>
document_chain: list<item: null>
validite: struct<debut: string, fin: string>
contrat_reference: string
vs
document_id: string
client: struct<numero_client: string, nom: string, prenom: string, date_naissance: string, adresse: string, carte_nationale: string, permis_conduire: string>
type_document: string
type_assurance: string
numero_contrat: string
agent: struct<nom: string, prenom: string, code: string, bureau: string>
date_creation: string
details_assurance: struct<type_assurance: string, numero_contrat: string, prime_annuelle: double, franchise: double, date_effet: string, duree_contrat: int64, vehicule: struct<marque: string, modele: string, annee: int64, immatriculation: string, usage: string>>
document_chain: list<item: struct<document_id: string, type_document: string, numero_contrat: string, file_reference: string>>
validite: struct<debut: string, fin: string>
contrat_reference: string
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3608, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2368, in _head
                  return next(iter(self.iter(batch_size=n)))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2573, in iter
                  for key, example in iterator:
                                      ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2082, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 572, in _iter_arrow
                  yield new_key, pa.Table.from_batches(chunks_buffer)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Schema at index 2 was different: 
              document_id: string
              client: struct<numero_client: string, nom: string, prenom: string, date_naissance: string, adresse: string, carte_nationale: string, permis_conduire: string>
              type_document: string
              type_assurance: string
              numero_contrat: string
              agent: struct<nom: string, prenom: string, code: string, bureau: string>
              date_creation: string
              details_assurance: struct<type_assurance: string, numero_contrat: string, prime_annuelle: double, franchise: double, date_effet: string, duree_contrat: int64, vehicule: struct<marque: string, modele: string, annee: int64, immatriculation: string, usage: string>>
              document_chain: list<item: null>
              validite: struct<debut: string, fin: string>
              contrat_reference: string
              vs
              document_id: string
              client: struct<numero_client: string, nom: string, prenom: string, date_naissance: string, adresse: string, carte_nationale: string, permis_conduire: string>
              type_document: string
              type_assurance: string
              numero_contrat: string
              agent: struct<nom: string, prenom: string, code: string, bureau: string>
              date_creation: string
              details_assurance: struct<type_assurance: string, numero_contrat: string, prime_annuelle: double, franchise: double, date_effet: string, duree_contrat: int64, vehicule: struct<marque: string, modele: string, annee: int64, immatriculation: string, usage: string>>
              document_chain: list<item: struct<document_id: string, type_document: string, numero_contrat: string, file_reference: string>>
              validite: struct<debut: string, fin: string>
              contrat_reference: string

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.

README.md exists but content is empty.
Downloads last month
257