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
correct_letter: string
correct_formula: string
annotation: string
choices: list<item: string>
  child 0, item: string
correct_index: int64
physics_type: string
composition_sources: list<item: string>
  child 0, item: string
choice_sources: list<item: string>
  child 0, item: string
seed: string
is_realworld: bool
dropped_wrong_formulas: list<item: string>
  child 0, item: string
objects: list<item: struct<height: double, id: int64, initial_velocity_u: double, initial_velocity_v: int64,  (... 98 chars omitted)
  child 0, item: struct<height: double, id: int64, initial_velocity_u: double, initial_velocity_v: int64, mass: doubl (... 86 chars omitted)
      child 0, height: double
      child 1, id: int64
      child 2, initial_velocity_u: double
      child 3, initial_velocity_v: int64
      child 4, mass: double
      child 5, name: string
      child 6, restitution: double
      child 7, size: double
      child 8, size_symbol: string
      child 9, static: bool
render: struct<axes_arrow_head_width: int64, axes_arrow_length: int64, axes_arrow_width: int64, fontsize: in (... 212 chars omitted)
  child 0, axes_arrow_head_width: int64
  child 1, axes_arrow_length: int64
  child 2, axes_arrow_width: int64
  child 3, fontsize: int64
  child 4, margin_axes_range: list<item: int64>
      child 0, item: int64
  child 5, margin_env_range: list<item: int64>
      child 0, item: int64
  child 6, margin_ground_range: list<item: int64>
      child 0, item: int64
  child 7, velocity_arrow_head_width: int64
  child 8, velocity_arrow_length: int64
  child 9, velocity_arrow_width: int64
ground: struct<dynamic_friction: string, label: string, restitution: double, static_friction: string>
  child 0, dynamic_friction: string
  child 1, label: string
  child 2, restitution: double
  child 3, static_friction: string
environment: struct<air_resistance: string, gravity: double>
  child 0, air_resistance: string
  child 1, gravity: double
task_type: string
to
{'environment': {'air_resistance': Value('string'), 'gravity': Value('float64')}, 'ground': {'dynamic_friction': Value('string'), 'label': Value('string'), 'restitution': Value('float64'), 'static_friction': Value('string')}, 'objects': List({'height': Value('float64'), 'id': Value('int64'), 'initial_velocity_u': Value('float64'), 'initial_velocity_v': Value('int64'), 'mass': Value('float64'), 'name': Value('string'), 'restitution': Value('float64'), 'size': Value('float64'), 'size_symbol': Value('string'), 'static': Value('bool')}), 'render': {'axes_arrow_head_width': Value('int64'), 'axes_arrow_length': Value('int64'), 'axes_arrow_width': Value('int64'), 'fontsize': Value('int64'), 'margin_axes_range': List(Value('int64')), 'margin_env_range': List(Value('int64')), 'margin_ground_range': List(Value('int64')), 'velocity_arrow_head_width': Value('int64'), 'velocity_arrow_length': Value('int64'), 'velocity_arrow_width': Value('int64')}, 'task_type': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                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 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              correct_letter: string
              correct_formula: string
              annotation: string
              choices: list<item: string>
                child 0, item: string
              correct_index: int64
              physics_type: string
              composition_sources: list<item: string>
                child 0, item: string
              choice_sources: list<item: string>
                child 0, item: string
              seed: string
              is_realworld: bool
              dropped_wrong_formulas: list<item: string>
                child 0, item: string
              objects: list<item: struct<height: double, id: int64, initial_velocity_u: double, initial_velocity_v: int64,  (... 98 chars omitted)
                child 0, item: struct<height: double, id: int64, initial_velocity_u: double, initial_velocity_v: int64, mass: doubl (... 86 chars omitted)
                    child 0, height: double
                    child 1, id: int64
                    child 2, initial_velocity_u: double
                    child 3, initial_velocity_v: int64
                    child 4, mass: double
                    child 5, name: string
                    child 6, restitution: double
                    child 7, size: double
                    child 8, size_symbol: string
                    child 9, static: bool
              render: struct<axes_arrow_head_width: int64, axes_arrow_length: int64, axes_arrow_width: int64, fontsize: in (... 212 chars omitted)
                child 0, axes_arrow_head_width: int64
                child 1, axes_arrow_length: int64
                child 2, axes_arrow_width: int64
                child 3, fontsize: int64
                child 4, margin_axes_range: list<item: int64>
                    child 0, item: int64
                child 5, margin_env_range: list<item: int64>
                    child 0, item: int64
                child 6, margin_ground_range: list<item: int64>
                    child 0, item: int64
                child 7, velocity_arrow_head_width: int64
                child 8, velocity_arrow_length: int64
                child 9, velocity_arrow_width: int64
              ground: struct<dynamic_friction: string, label: string, restitution: double, static_friction: string>
                child 0, dynamic_friction: string
                child 1, label: string
                child 2, restitution: double
                child 3, static_friction: string
              environment: struct<air_resistance: string, gravity: double>
                child 0, air_resistance: string
                child 1, gravity: double
              task_type: string
              to
              {'environment': {'air_resistance': Value('string'), 'gravity': Value('float64')}, 'ground': {'dynamic_friction': Value('string'), 'label': Value('string'), 'restitution': Value('float64'), 'static_friction': Value('string')}, 'objects': List({'height': Value('float64'), 'id': Value('int64'), 'initial_velocity_u': Value('float64'), 'initial_velocity_v': Value('int64'), 'mass': Value('float64'), 'name': Value('string'), 'restitution': Value('float64'), 'size': Value('float64'), 'size_symbol': Value('string'), 'static': Value('bool')}), 'render': {'axes_arrow_head_width': Value('int64'), 'axes_arrow_length': Value('int64'), 'axes_arrow_width': Value('int64'), 'fontsize': Value('int64'), 'margin_axes_range': List(Value('int64')), 'margin_env_range': List(Value('int64')), 'margin_ground_range': List(Value('int64')), 'velocity_arrow_head_width': Value('int64'), 'velocity_arrow_length': Value('int64'), 'velocity_arrow_width': Value('int64')}, 'task_type': Value('string')}
              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
1,847