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:    TypeError
Message:      Couldn't cast array of type
struct<day_of_month: string, day_of_week: string, day_of_year: string, has_bought_brand: string, has_bought_brand_120: string, has_bought_brand_14: string, has_bought_brand_150: string, has_bought_brand_180: string, has_bought_brand_21: string, has_bought_brand_28: string, has_bought_brand_3: string, has_bought_brand_60: string, has_bought_brand_7: string, has_bought_brand_90: string, has_bought_brand_a: string, has_bought_brand_a_120: string, has_bought_brand_a_14: string, has_bought_brand_a_150: string, has_bought_brand_a_180: string, has_bought_brand_a_21: string, has_bought_brand_a_28: string, has_bought_brand_a_3: string, has_bought_brand_a_60: string, has_bought_brand_a_7: string, has_bought_brand_a_90: string, has_bought_brand_category: string, has_bought_brand_company: string, has_bought_brand_company_category: string, has_bought_brand_q: string, has_bought_brand_q_120: string, has_bought_brand_q_14: string, has_bought_brand_q_150: string, has_bought_brand_q_180: string, has_bought_brand_q_21: string, has_bought_brand_q_28: string, has_bought_brand_q_3: string, has_bought_brand_q_60: string, has_bought_brand_q_7: string, has_bought_brand_q_90: string, has_bought_category: string, has_bought_category_120: string, has_bought_category_14: string, has_bought_category_150: string, has_bought_category_180: string, has_bought_category_21: string, has_bought_category_28: string, has_bought_category_3: string, has_bought_category_60: string, has_bought_category_7: string, has_
...
g, has_bought_category_q_150: string, has_bought_category_q_180: string, has_bought_category_q_21: string, has_bought_category_q_28: string, has_bought_category_q_3: string, has_bought_category_q_60: string, has_bought_category_q_7: string, has_bought_category_q_90: string, has_bought_company: string, has_bought_company_120: string, has_bought_company_14: string, has_bought_company_150: string, has_bought_company_180: string, has_bought_company_21: string, has_bought_company_28: string, has_bought_company_3: string, has_bought_company_60: string, has_bought_company_7: string, has_bought_company_90: string, has_bought_company_a: string, has_bought_company_a_120: string, has_bought_company_a_14: string, has_bought_company_a_150: string, has_bought_company_a_180: string, has_bought_company_a_21: string, has_bought_company_a_28: string, has_bought_company_a_3: string, has_bought_company_a_60: string, has_bought_company_a_7: string, has_bought_company_a_90: string, has_bought_company_q: string, has_bought_company_q_120: string, has_bought_company_q_14: string, has_bought_company_q_150: string, has_bought_company_q_180: string, has_bought_company_q_21: string, has_bought_company_q_28: string, has_bought_company_q_3: string, has_bought_company_q_60: string, has_bought_company_q_7: string, has_bought_company_q_90: string, never_bought_brand: string, never_bought_category: string, never_bought_company: string, offerdate: string, offervalue: string, target: string, total_spend: string>
to
{'Antennas': Value('string'), 'BS': Value('string'), 'Bandwidth': Value('string'), 'ESMode1': Value('string'), 'ESMode1_Cell1': Value('string'), 'ESMode1_Cell1__missing': Value('string'), 'ESMode2': Value('string'), 'ESMode2_Cell1': Value('string'), 'ESMode2_Cell1__missing': Value('string'), 'ESMode3': Value('string'), 'ESMode3_Cell1': Value('string'), 'ESMode3_Cell1__missing': Value('string'), 'ESMode5': Value('string'), 'ESMode6': Value('string'), 'ESMode6_Cell1': Value('string'), 'ESMode6_Cell1__missing': Value('string'), 'Energy': Value('string'), 'Frequency': Value('string'), 'Mode': Value('string'), 'RUType': Value('string'), 'TXpower': Value('string'), 'day': Value('string'), 'hour': Value('string'), 'load': Value('string'), 'load_Cell1': Value('string'), 'load_Cell1__missing': Value('string'), 'weekday_number': Value('string')}
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 2315, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2071, in cast_array_to_feature
                  _c(children[name] if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2161, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<day_of_month: string, day_of_week: string, day_of_year: string, has_bought_brand: string, has_bought_brand_120: string, has_bought_brand_14: string, has_bought_brand_150: string, has_bought_brand_180: string, has_bought_brand_21: string, has_bought_brand_28: string, has_bought_brand_3: string, has_bought_brand_60: string, has_bought_brand_7: string, has_bought_brand_90: string, has_bought_brand_a: string, has_bought_brand_a_120: string, has_bought_brand_a_14: string, has_bought_brand_a_150: string, has_bought_brand_a_180: string, has_bought_brand_a_21: string, has_bought_brand_a_28: string, has_bought_brand_a_3: string, has_bought_brand_a_60: string, has_bought_brand_a_7: string, has_bought_brand_a_90: string, has_bought_brand_category: string, has_bought_brand_company: string, has_bought_brand_company_category: string, has_bought_brand_q: string, has_bought_brand_q_120: string, has_bought_brand_q_14: string, has_bought_brand_q_150: string, has_bought_brand_q_180: string, has_bought_brand_q_21: string, has_bought_brand_q_28: string, has_bought_brand_q_3: string, has_bought_brand_q_60: string, has_bought_brand_q_7: string, has_bought_brand_q_90: string, has_bought_category: string, has_bought_category_120: string, has_bought_category_14: string, has_bought_category_150: string, has_bought_category_180: string, has_bought_category_21: string, has_bought_category_28: string, has_bought_category_3: string, has_bought_category_60: string, has_bought_category_7: string, has_
              ...
              g, has_bought_category_q_150: string, has_bought_category_q_180: string, has_bought_category_q_21: string, has_bought_category_q_28: string, has_bought_category_q_3: string, has_bought_category_q_60: string, has_bought_category_q_7: string, has_bought_category_q_90: string, has_bought_company: string, has_bought_company_120: string, has_bought_company_14: string, has_bought_company_150: string, has_bought_company_180: string, has_bought_company_21: string, has_bought_company_28: string, has_bought_company_3: string, has_bought_company_60: string, has_bought_company_7: string, has_bought_company_90: string, has_bought_company_a: string, has_bought_company_a_120: string, has_bought_company_a_14: string, has_bought_company_a_150: string, has_bought_company_a_180: string, has_bought_company_a_21: string, has_bought_company_a_28: string, has_bought_company_a_3: string, has_bought_company_a_60: string, has_bought_company_a_7: string, has_bought_company_a_90: string, has_bought_company_q: string, has_bought_company_q_120: string, has_bought_company_q_14: string, has_bought_company_q_150: string, has_bought_company_q_180: string, has_bought_company_q_21: string, has_bought_company_q_28: string, has_bought_company_q_3: string, has_bought_company_q_60: string, has_bought_company_q_7: string, has_bought_company_q_90: string, never_bought_brand: string, never_bought_category: string, never_bought_company: string, offerdate: string, offervalue: string, target: string, total_spend: string>
              to
              {'Antennas': Value('string'), 'BS': Value('string'), 'Bandwidth': Value('string'), 'ESMode1': Value('string'), 'ESMode1_Cell1': Value('string'), 'ESMode1_Cell1__missing': Value('string'), 'ESMode2': Value('string'), 'ESMode2_Cell1': Value('string'), 'ESMode2_Cell1__missing': Value('string'), 'ESMode3': Value('string'), 'ESMode3_Cell1': Value('string'), 'ESMode3_Cell1__missing': Value('string'), 'ESMode5': Value('string'), 'ESMode6': Value('string'), 'ESMode6_Cell1': Value('string'), 'ESMode6_Cell1__missing': Value('string'), 'Energy': Value('string'), 'Frequency': Value('string'), 'Mode': Value('string'), 'RUType': Value('string'), 'TXpower': Value('string'), 'day': Value('string'), 'hour': Value('string'), 'load': Value('string'), 'load_Cell1': Value('string'), 'load_Cell1__missing': Value('string'), 'weekday_number': Value('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.

TabGenBench downstream task masks

This repository stores the fixed masks of the TabGenBench downstream tasks: for each of the benchmark's 28 tables, which features of the test split are masked for prediction or imputation tasks.

This repository holds masks only. A mask is a list of [row, column] positions of the prepared test split in TabGenBench. The package downloads and checks them on first use automatically:

import tabgen_bench as tgb

tgb.list_downstream_tasks("sdss_17")
# ('prediction', 'imputation_30', 'imputation_50')

task = tgb.load_downstream_task("sdss_17", "imputation_50")
observed, targets = task["observed"], task["targets"]

observed sets the hidden cells to np.nan; targets reveals those values.

After download, the folder structure looks like

<data root>/
β”œβ”€β”€ downstream/                        from this repository
β”œβ”€β”€ prepared/                          built by the package
β”œβ”€β”€ raw/                               the original table, from TabArena/BeyondArena
└── table_sources/                     the package's verification records

Tasks

Every table has the same three tasks.

Task What is hidden
prediction The associated supervised targeting column
imputation_30 30% columns, chosen at random for each row
imputation_50 50% columns, chosen at random for each row

Files

downstream/<table>.npz     the positions, one array per task
downstream/<table>.json    the manifest that describes and binds them

There are 56 files, 83 MB in all.

<table>.npz: One array per task, named positions_0, positions_1, positions_2, representing prediction, imputation_30, imputation_50. Each array has shape (hidden cells, 2). A row of it is [row_index, column_index] for the prepared test split. The arrays are plain numeric data and load with allow_pickle=False.

<table>.json: metadata and checksums for the associated masks.

Licence

The tables themselves stay under the licences of their original sources and are not redistributed here.

Downloads last month
19