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
date: timestamp[s]
generated_at: string
model_version: string
total_matches: int64
by_tour: struct<ATP: int64, Challenger: int64>
  child 0, ATP: int64
  child 1, Challenger: int64
matches: list<item: struct<tournament: string, tour: string, surface: string, round: string, match_time: stri (... 823 chars omitted)
  child 0, item: struct<tournament: string, tour: string, surface: string, round: string, match_time: string, best_of (... 811 chars omitted)
      child 0, tournament: string
      child 1, tour: string
      child 2, surface: string
      child 3, round: string
      child 4, match_time: string
      child 5, best_of: int64
      child 6, player_a: struct<name: string, country_code: string, flag_url: string, hand: string, elo: double, serve_pct: d (... 47 chars omitted)
          child 0, name: string
          child 1, country_code: string
          child 2, flag_url: string
          child 3, hand: string
          child 4, elo: double
          child 5, serve_pct: double
          child 6, return_pct: double
          child 7, recent_form: double
      child 7, player_b: struct<name: string, country_code: string, flag_url: string, hand: string, elo: double, serve_pct: d (... 47 chars omitted)
          child 0, name: string
          child 1, country_code: string
          child 2, flag_url: string
          child 3, hand: string
          child 4, elo: double
          child 5, serve_pct: double
          child 6, return_pct: double
          child 7, recent_fo
...
ble
          child 1, prob_b: double
          child 2, calibrated_prob_a: double
          child 3, calibrated_prob_b: double
          child 4, elo_prob_a: double
          child 5, sim_prob_a: double
          child 6, ml_prob_a: double
          child 7, confidence: string
          child 8, fair_odds_a: int64
          child 9, fair_odds_b: int64
      child 9, market: struct<odds_a: int64, odds_b: int64, value_a: double, value_b: double>
          child 0, odds_a: int64
          child 1, odds_b: int64
          child 2, value_a: double
          child 3, value_b: double
      child 10, h2h: struct<total: int64, pct_a: double>
          child 0, total: int64
          child 1, pct_a: double
      child 11, result: struct<winner: string, winner_name: string, score: list<item: int64>, score_loser: list<item: int64> (... 28 chars omitted)
          child 0, winner: string
          child 1, winner_name: string
          child 2, score: list<item: int64>
              child 0, item: int64
          child 3, score_loser: list<item: int64>
              child 0, item: int64
          child 4, correct: bool
          child 5, pnl: int64
results_summary: struct<updated_at: string, total_completed: int64, correct: int64, incorrect: int64, accuracy_pct: d (... 41 chars omitted)
  child 0, updated_at: string
  child 1, total_completed: int64
  child 2, correct: int64
  child 3, incorrect: int64
  child 4, accuracy_pct: double
  child 5, total_pnl: int64
  child 6, avg_pnl: double
to
{'date': Value('timestamp[s]'), 'generated_at': Value('string'), 'model_version': Value('string'), 'total_matches': Value('int64'), 'by_tour': {'ATP': Value('int64'), 'Challenger': Value('int64')}, 'matches': List({'tournament': Value('string'), 'tour': Value('string'), 'surface': Value('string'), 'round': Value('string'), 'match_time': Value('string'), 'best_of': Value('int64'), 'player_a': {'name': Value('string'), 'country_code': Value('string'), 'flag_url': Value('string'), 'hand': Value('string'), 'elo': Value('float64'), 'serve_pct': Value('float64'), 'return_pct': Value('float64'), 'recent_form': Value('float64')}, 'player_b': {'name': Value('string'), 'country_code': Value('string'), 'flag_url': Value('string'), 'hand': Value('string'), 'elo': Value('float64'), 'serve_pct': Value('float64'), 'return_pct': Value('float64'), 'recent_form': Value('float64')}, 'prediction': {'prob_a': Value('float64'), 'prob_b': Value('float64'), 'calibrated_prob_a': Value('float64'), 'calibrated_prob_b': Value('float64'), 'elo_prob_a': Value('float64'), 'sim_prob_a': Value('float64'), 'ml_prob_a': Value('float64'), 'confidence': Value('string'), 'fair_odds_a': Value('int64'), 'fair_odds_b': Value('int64')}, 'market': {'odds_a': Value('int64'), 'odds_b': Value('int64'), 'value_a': Value('float64'), 'value_b': Value('float64')}, 'h2h': {'total': Value('int64'), 'pct_a': Value('float64')}})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, 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 127, 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 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2815, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2352, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2377, 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 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 419, 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 310, 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 130, 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 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              date: timestamp[s]
              generated_at: string
              model_version: string
              total_matches: int64
              by_tour: struct<ATP: int64, Challenger: int64>
                child 0, ATP: int64
                child 1, Challenger: int64
              matches: list<item: struct<tournament: string, tour: string, surface: string, round: string, match_time: stri (... 823 chars omitted)
                child 0, item: struct<tournament: string, tour: string, surface: string, round: string, match_time: string, best_of (... 811 chars omitted)
                    child 0, tournament: string
                    child 1, tour: string
                    child 2, surface: string
                    child 3, round: string
                    child 4, match_time: string
                    child 5, best_of: int64
                    child 6, player_a: struct<name: string, country_code: string, flag_url: string, hand: string, elo: double, serve_pct: d (... 47 chars omitted)
                        child 0, name: string
                        child 1, country_code: string
                        child 2, flag_url: string
                        child 3, hand: string
                        child 4, elo: double
                        child 5, serve_pct: double
                        child 6, return_pct: double
                        child 7, recent_form: double
                    child 7, player_b: struct<name: string, country_code: string, flag_url: string, hand: string, elo: double, serve_pct: d (... 47 chars omitted)
                        child 0, name: string
                        child 1, country_code: string
                        child 2, flag_url: string
                        child 3, hand: string
                        child 4, elo: double
                        child 5, serve_pct: double
                        child 6, return_pct: double
                        child 7, recent_fo
              ...
              ble
                        child 1, prob_b: double
                        child 2, calibrated_prob_a: double
                        child 3, calibrated_prob_b: double
                        child 4, elo_prob_a: double
                        child 5, sim_prob_a: double
                        child 6, ml_prob_a: double
                        child 7, confidence: string
                        child 8, fair_odds_a: int64
                        child 9, fair_odds_b: int64
                    child 9, market: struct<odds_a: int64, odds_b: int64, value_a: double, value_b: double>
                        child 0, odds_a: int64
                        child 1, odds_b: int64
                        child 2, value_a: double
                        child 3, value_b: double
                    child 10, h2h: struct<total: int64, pct_a: double>
                        child 0, total: int64
                        child 1, pct_a: double
                    child 11, result: struct<winner: string, winner_name: string, score: list<item: int64>, score_loser: list<item: int64> (... 28 chars omitted)
                        child 0, winner: string
                        child 1, winner_name: string
                        child 2, score: list<item: int64>
                            child 0, item: int64
                        child 3, score_loser: list<item: int64>
                            child 0, item: int64
                        child 4, correct: bool
                        child 5, pnl: int64
              results_summary: struct<updated_at: string, total_completed: int64, correct: int64, incorrect: int64, accuracy_pct: d (... 41 chars omitted)
                child 0, updated_at: string
                child 1, total_completed: int64
                child 2, correct: int64
                child 3, incorrect: int64
                child 4, accuracy_pct: double
                child 5, total_pnl: int64
                child 6, avg_pnl: double
              to
              {'date': Value('timestamp[s]'), 'generated_at': Value('string'), 'model_version': Value('string'), 'total_matches': Value('int64'), 'by_tour': {'ATP': Value('int64'), 'Challenger': Value('int64')}, 'matches': List({'tournament': Value('string'), 'tour': Value('string'), 'surface': Value('string'), 'round': Value('string'), 'match_time': Value('string'), 'best_of': Value('int64'), 'player_a': {'name': Value('string'), 'country_code': Value('string'), 'flag_url': Value('string'), 'hand': Value('string'), 'elo': Value('float64'), 'serve_pct': Value('float64'), 'return_pct': Value('float64'), 'recent_form': Value('float64')}, 'player_b': {'name': Value('string'), 'country_code': Value('string'), 'flag_url': Value('string'), 'hand': Value('string'), 'elo': Value('float64'), 'serve_pct': Value('float64'), 'return_pct': Value('float64'), 'recent_form': Value('float64')}, 'prediction': {'prob_a': Value('float64'), 'prob_b': Value('float64'), 'calibrated_prob_a': Value('float64'), 'calibrated_prob_b': Value('float64'), 'elo_prob_a': Value('float64'), 'sim_prob_a': Value('float64'), 'ml_prob_a': Value('float64'), 'confidence': Value('string'), 'fair_odds_a': Value('int64'), 'fair_odds_b': Value('int64')}, 'market': {'odds_a': Value('int64'), 'odds_b': Value('int64'), 'value_a': Value('float64'), 'value_b': Value('float64')}, 'h2h': {'total': Value('int64'), 'pct_a': 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
67