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
fold: int64
train_end: int64
test_start: int64
test_end: int64
n_train: int64
n_test: int64
auc: double
n_flagged: int64
n_total: int64
flagged_ratio: double
realized_sum_pnl: double
realized_mean_pnl_of_flagged: double
realized_median_pnl_of_flagged: double
hit_rate: double
max_drawdown: double
flag_all_baseline_sum_pnl: double
calibration: list<item: struct<bucket: int64, lo: double, hi: double, n: int64, predicted: double, actual: double (... 2 chars omitted)
  child 0, item: struct<bucket: int64, lo: double, hi: double, n: int64, predicted: double, actual: double>
      child 0, bucket: int64
      child 1, lo: double
      child 2, hi: double
      child 3, n: int64
      child 4, predicted: double
      child 5, actual: double
n_features: int64
orderbook_features: list<item: string>
  child 0, item: string
all_features: list<item: string>
  child 0, item: string
ohlcv_features: list<item: string>
  child 0, item: string
state_features: list<item: string>
  child 0, item: string
to
{'ohlcv_features': List(Value('string')), 'orderbook_features': List(Value('string')), 'state_features': List(Value('string')), 'all_features': List(Value('string')), 'n_features': Value('int64')}
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 2281, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2227, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              fold: int64
              train_end: int64
              test_start: int64
              test_end: int64
              n_train: int64
              n_test: int64
              auc: double
              n_flagged: int64
              n_total: int64
              flagged_ratio: double
              realized_sum_pnl: double
              realized_mean_pnl_of_flagged: double
              realized_median_pnl_of_flagged: double
              hit_rate: double
              max_drawdown: double
              flag_all_baseline_sum_pnl: double
              calibration: list<item: struct<bucket: int64, lo: double, hi: double, n: int64, predicted: double, actual: double (... 2 chars omitted)
                child 0, item: struct<bucket: int64, lo: double, hi: double, n: int64, predicted: double, actual: double>
                    child 0, bucket: int64
                    child 1, lo: double
                    child 2, hi: double
                    child 3, n: int64
                    child 4, predicted: double
                    child 5, actual: double
              n_features: int64
              orderbook_features: list<item: string>
                child 0, item: string
              all_features: list<item: string>
                child 0, item: string
              ohlcv_features: list<item: string>
                child 0, item: string
              state_features: list<item: string>
                child 0, item: string
              to
              {'ohlcv_features': List(Value('string')), 'orderbook_features': List(Value('string')), 'state_features': List(Value('string')), 'all_features': List(Value('string')), 'n_features': Value('int64')}
              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
52