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
n_records: int64
n_movers: int64
league_strength: struct<Bundesliga: double, Championship: double, Eredivisie: double, La Liga: double, Ligue 1: doubl (... 66 chars omitted)
  child 0, Bundesliga: double
  child 1, Championship: double
  child 2, Eredivisie: double
  child 3, La Liga: double
  child 4, Ligue 1: double
  child 5, Premier League: double
  child 6, Primeira Liga: double
  child 7, Serie A: double
translation_to_epl: list<item: struct<name: string, from: string, season: string, current: double, projected: double, de (... 13 chars omitted)
  child 0, item: struct<name: string, from: string, season: string, current: double, projected: double, delta: double (... 1 chars omitted)
      child 0, name: string
      child 1, from: string
      child 2, season: string
      child 3, current: double
      child 4, projected: double
      child 5, delta: double
records: list<item: struct<name: string, league: string, season: string, goals: int64, assists: int64, xg: do (... 6 chars omitted)
  child 0, item: struct<name: string, league: string, season: string, goals: int64, assists: int64, xg: double>
      child 0, name: string
      child 1, league: string
      child 2, season: string
      child 3, goals: int64
      child 4, assists: int64
      child 5, xg: double
seasons: list<item: string>
  child 0, item: string
generated: timestamp[s]
n: int64
topn: int64
leagues: list<item: string>
  child 0, item: string
to
{'n': Value('int64'), 'seasons': List(Value('string')), 'leagues': List(Value('string')), 'topn': Value('int64'), 'generated': Value('timestamp[s]'), 'records': List({'name': Value('string'), 'player_id': Value('int64'), 'league': Value('string'), 'season': Value('string'), 'nineties': Value('float64'), 'gls90': Value('float64'), 'sh90': Value('float64'), 'sot90': Value('float64'), 'xg90': Value('float64'), 'finishing': Value('float64'), 'goal_conv_pct': Value('float64'), 'big_ch_missed90': Value('float64'), 'headed_gls90': Value('float64'), 'ast90': Value('float64'), 'xa90': Value('float64'), 'keypass90': Value('float64'), 'big_ch_created90': Value('float64'), 'prog_pass90': Value('float64'), 'pass_pct': Value('float64'), 'long_ball90': Value('float64'), 'crs90': Value('float64'), 'cross_pct': Value('float64'), 'dribble90': Value('float64'), 'dribble_pct': Value('float64'), 'touches90': Value('float64'), 'dispossessed90': Value('float64'), 'was_fouled90': Value('float64'), 'tkl90': Value('float64'), 'tkl_won_pct': Value('float64'), 'int90': Value('float64'), 'clearances90': Value('float64'), 'blocks90': Value('float64'), 'recoveries90': Value('float64'), 'duels_won90': Value('float64'), 'duel_won_pct': Value('float64'), 'aerial_won90': Value('float64'), 'aerial_won_pct': Value('float64'), 'dribbled_past90': Value('float64'), 'fls90': Value('float64'), 'yellow90': Value('float64'), 'offsides90': Value('float64'), 'rating': Value('float64'), 'market_value': Value('int64'), 'age': Value('float64'), 'height': Value('int64'), 'foot': Value('string'), 'club': Value('string'), 'club_id': Value('int64'), 'nationality': Value('string'), 'nationality_code': Value('string'), 'nationality_alpha2': Value('string'), 'photo_url': Value('string'), 'club_logo_url': Value('string')})}
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(
                      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 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 483, 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 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, 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 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/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.14/site-packages/datasets/packaged_modules/json/json.py", line 343, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              n_records: int64
              n_movers: int64
              league_strength: struct<Bundesliga: double, Championship: double, Eredivisie: double, La Liga: double, Ligue 1: doubl (... 66 chars omitted)
                child 0, Bundesliga: double
                child 1, Championship: double
                child 2, Eredivisie: double
                child 3, La Liga: double
                child 4, Ligue 1: double
                child 5, Premier League: double
                child 6, Primeira Liga: double
                child 7, Serie A: double
              translation_to_epl: list<item: struct<name: string, from: string, season: string, current: double, projected: double, de (... 13 chars omitted)
                child 0, item: struct<name: string, from: string, season: string, current: double, projected: double, delta: double (... 1 chars omitted)
                    child 0, name: string
                    child 1, from: string
                    child 2, season: string
                    child 3, current: double
                    child 4, projected: double
                    child 5, delta: double
              records: list<item: struct<name: string, league: string, season: string, goals: int64, assists: int64, xg: do (... 6 chars omitted)
                child 0, item: struct<name: string, league: string, season: string, goals: int64, assists: int64, xg: double>
                    child 0, name: string
                    child 1, league: string
                    child 2, season: string
                    child 3, goals: int64
                    child 4, assists: int64
                    child 5, xg: double
              seasons: list<item: string>
                child 0, item: string
              generated: timestamp[s]
              n: int64
              topn: int64
              leagues: list<item: string>
                child 0, item: string
              to
              {'n': Value('int64'), 'seasons': List(Value('string')), 'leagues': List(Value('string')), 'topn': Value('int64'), 'generated': Value('timestamp[s]'), 'records': List({'name': Value('string'), 'player_id': Value('int64'), 'league': Value('string'), 'season': Value('string'), 'nineties': Value('float64'), 'gls90': Value('float64'), 'sh90': Value('float64'), 'sot90': Value('float64'), 'xg90': Value('float64'), 'finishing': Value('float64'), 'goal_conv_pct': Value('float64'), 'big_ch_missed90': Value('float64'), 'headed_gls90': Value('float64'), 'ast90': Value('float64'), 'xa90': Value('float64'), 'keypass90': Value('float64'), 'big_ch_created90': Value('float64'), 'prog_pass90': Value('float64'), 'pass_pct': Value('float64'), 'long_ball90': Value('float64'), 'crs90': Value('float64'), 'cross_pct': Value('float64'), 'dribble90': Value('float64'), 'dribble_pct': Value('float64'), 'touches90': Value('float64'), 'dispossessed90': Value('float64'), 'was_fouled90': Value('float64'), 'tkl90': Value('float64'), 'tkl_won_pct': Value('float64'), 'int90': Value('float64'), 'clearances90': Value('float64'), 'blocks90': Value('float64'), 'recoveries90': Value('float64'), 'duels_won90': Value('float64'), 'duel_won_pct': Value('float64'), 'aerial_won90': Value('float64'), 'aerial_won_pct': Value('float64'), 'dribbled_past90': Value('float64'), 'fls90': Value('float64'), 'yellow90': Value('float64'), 'offsides90': Value('float64'), 'rating': Value('float64'), 'market_value': Value('int64'), 'age': Value('float64'), 'height': Value('int64'), 'foot': Value('string'), 'club': Value('string'), 'club_id': Value('int64'), 'nationality': Value('string'), 'nationality_code': Value('string'), 'nationality_alpha2': Value('string'), 'photo_url': Value('string'), 'club_logo_url': 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
182

Space using Chucks90/football-sofascore-data 1