Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
generated_at: timestamp[s]
search: struct<origins: struct<LBA: string, MAN: string, NCL: string, MME: string, HUY: string, EMA: string, (... 227 chars omitted)
  child 0, origins: struct<LBA: string, MAN: string, NCL: string, MME: string, HUY: string, EMA: string, BHX: string, LP (... 75 chars omitted)
      child 0, LBA: string
      child 1, MAN: string
      child 2, NCL: string
      child 3, MME: string
      child 4, HUY: string
      child 5, EMA: string
      child 6, BHX: string
      child 7, LPL: string
      child 8, LHR: string
      child 9, LGW: string
      child 10, STN: string
      child 11, LTN: string
      child 12, LCY: string
  child 1, destinations: struct<HAN: string, SGN: string>
      child 0, HAN: string
      child 1, SGN: string
  child 2, dates: list<item: timestamp[s]>
      child 0, item: timestamp[s]
  child 3, adults: int64
  child 4, checked_bags: int64
  child 5, currency: string
sources: struct<momondo: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>, s (... 374 chars omitted)
  child 0, momondo: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>
      child 0, status: string
      child 1, count: int64
      child 2, seconds: int64
      child 3, error: null
      child 4, carried: int64
  child 1, split_tickets: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>
      child 0, status: string
      child 1, count: int64
      child 2, seconds
...
46, Turkish Airlines: int64
                  child 47, Lufthansa: int64
                  child 48, Air India: int64
                  child 49, China Airlines: int64
                  child 50, SWISS: int64
                  child 51, Juneyao Airlines: int64
                  child 52, Egyptair: int64
                  child 53, Condor: int64
                  child 54, China Southern: int64
                  child 55, World Tour Store: int64
                  child 56, Ethiopian Air: int64
                  child 57, LOT: int64
                  child 58, Gate1.co.uk: int64
              child 7, legs: list<item: struct<from: string, to: string, price: double, url: string, site: string>>
                  child 0, item: struct<from: string, to: string, price: double, url: string, site: string>
                      child 0, from: string
                      child 1, to: string
                      child 2, price: double
                      child 3, url: string
                      child 4, site: string
points: list<item: struct<scraped_on: timestamp[s], origin: string, destination: string, date: timestamp[s], (... 36 chars omitted)
  child 0, item: struct<scraped_on: timestamp[s], origin: string, destination: string, date: timestamp[s], source: st (... 24 chars omitted)
      child 0, scraped_on: timestamp[s]
      child 1, origin: string
      child 2, destination: string
      child 3, date: timestamp[s]
      child 4, source: string
      child 5, min_price: double
to
{'points': List({'scraped_on': Value('timestamp[s]'), 'origin': Value('string'), 'destination': Value('string'), 'date': Value('timestamp[s]'), 'source': Value('string'), 'min_price': Value('float64')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              generated_at: timestamp[s]
              search: struct<origins: struct<LBA: string, MAN: string, NCL: string, MME: string, HUY: string, EMA: string, (... 227 chars omitted)
                child 0, origins: struct<LBA: string, MAN: string, NCL: string, MME: string, HUY: string, EMA: string, BHX: string, LP (... 75 chars omitted)
                    child 0, LBA: string
                    child 1, MAN: string
                    child 2, NCL: string
                    child 3, MME: string
                    child 4, HUY: string
                    child 5, EMA: string
                    child 6, BHX: string
                    child 7, LPL: string
                    child 8, LHR: string
                    child 9, LGW: string
                    child 10, STN: string
                    child 11, LTN: string
                    child 12, LCY: string
                child 1, destinations: struct<HAN: string, SGN: string>
                    child 0, HAN: string
                    child 1, SGN: string
                child 2, dates: list<item: timestamp[s]>
                    child 0, item: timestamp[s]
                child 3, adults: int64
                child 4, checked_bags: int64
                child 5, currency: string
              sources: struct<momondo: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>, s (... 374 chars omitted)
                child 0, momondo: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>
                    child 0, status: string
                    child 1, count: int64
                    child 2, seconds: int64
                    child 3, error: null
                    child 4, carried: int64
                child 1, split_tickets: struct<status: string, count: int64, seconds: int64, error: null, carried: int64>
                    child 0, status: string
                    child 1, count: int64
                    child 2, seconds
              ...
              46, Turkish Airlines: int64
                                child 47, Lufthansa: int64
                                child 48, Air India: int64
                                child 49, China Airlines: int64
                                child 50, SWISS: int64
                                child 51, Juneyao Airlines: int64
                                child 52, Egyptair: int64
                                child 53, Condor: int64
                                child 54, China Southern: int64
                                child 55, World Tour Store: int64
                                child 56, Ethiopian Air: int64
                                child 57, LOT: int64
                                child 58, Gate1.co.uk: int64
                            child 7, legs: list<item: struct<from: string, to: string, price: double, url: string, site: string>>
                                child 0, item: struct<from: string, to: string, price: double, url: string, site: string>
                                    child 0, from: string
                                    child 1, to: string
                                    child 2, price: double
                                    child 3, url: string
                                    child 4, site: string
              points: list<item: struct<scraped_on: timestamp[s], origin: string, destination: string, date: timestamp[s], (... 36 chars omitted)
                child 0, item: struct<scraped_on: timestamp[s], origin: string, destination: string, date: timestamp[s], source: st (... 24 chars omitted)
                    child 0, scraped_on: timestamp[s]
                    child 1, origin: string
                    child 2, destination: string
                    child 3, date: timestamp[s]
                    child 4, source: string
                    child 5, min_price: double
              to
              {'points': List({'scraped_on': Value('timestamp[s]'), 'origin': Value('string'), 'destination': Value('string'), 'date': Value('timestamp[s]'), 'source': Value('string'), 'min_price': Value('float64')})}
              because column names don't match

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.

No dataset card yet

Downloads last month
144

Space using 3outeille24/vietnam-flights 1