Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 9 new columns ({'home_score', 'home_team_id', 'away_team_id', 'match_result', 'competition', 'attendance', 'venue_type', 'away_score', 'match_date'}) and 9 missing columns ({'minute', 'event_outcome', 'team_id', 'event_id', 'period', 'body_part', 'event_type', 'player_id', 'xg_value'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Tekhnika/football-match-events-player-performance-free/sample_output/matches.csv (at revision 54d1233574d9c97d7773aa3fbc9429a3ada92aa2), [/tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/match_events.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/match_events.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/matches.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/matches.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/player_performance.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/player_performance.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/players.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/players.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/team_daily_metrics.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/team_daily_metrics.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/teams.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/teams.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              match_id: int64
              home_team_id: int64
              away_team_id: int64
              match_date: string
              venue_type: string
              match_result: string
              attendance: int64
              home_score: int64
              away_score: int64
              competition: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1453
              to
              {'event_id': Value('int64'), 'match_id': Value('int64'), 'team_id': Value('int64'), 'player_id': Value('int64'), 'event_type': Value('string'), 'minute': Value('int64'), 'period': Value('string'), 'event_outcome': Value('string'), 'xg_value': Value('float64'), 'body_part': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 9 new columns ({'home_score', 'home_team_id', 'away_team_id', 'match_result', 'competition', 'attendance', 'venue_type', 'away_score', 'match_date'}) and 9 missing columns ({'minute', 'event_outcome', 'team_id', 'event_id', 'period', 'body_part', 'event_type', 'player_id', 'xg_value'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Tekhnika/football-match-events-player-performance-free/sample_output/matches.csv (at revision 54d1233574d9c97d7773aa3fbc9429a3ada92aa2), [/tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/match_events.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/match_events.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/matches.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/matches.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/player_performance.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/player_performance.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/players.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/players.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/team_daily_metrics.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/team_daily_metrics.csv), /tmp/hf-datasets-cache/medium/datasets/51640294259928-config-parquet-and-info-Tekhnika-football-match-e-7d268a55/hub/datasets--Tekhnika--football-match-events-player-performance-free/snapshots/54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/teams.csv (origin=hf://datasets/Tekhnika/football-match-events-player-performance-free@54d1233574d9c97d7773aa3fbc9429a3ada92aa2/sample_output/teams.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

event_id
int64
match_id
int64
team_id
int64
player_id
int64
event_type
string
minute
int64
period
string
event_outcome
string
xg_value
float64
body_part
string
1
1
1
1
assist
68
second_half
successful
0.088
head
2
2
2
627
interception
59
second_half
successful
0
left_foot
3
3
3
1,253
goal
29
first_half
successful
0.682
right_foot
4
4
4
1,879
shot
32
second_half
successful
0.396
other
5
5
5
2,505
goal
75
second_half
successful
0.663
other
6
6
6
3,131
foul
66
first_half
successful
0
right_foot
7
7
7
3,757
shot
49
second_half
successful
0.249
left_foot
8
8
8
4,383
pass
39
second_half
successful
0
left_foot
9
9
9
5,009
goal
89
first_half
successful
0.501
right_foot
10
10
10
5,635
save
1
second_half
unsuccessful
0
right_foot
11
11
11
6,261
yellow_card
40
second_half
successful
0
left_foot
12
12
19
19
interception
1
first_half
successful
0
other
13
13
20
645
foul
26
second_half
successful
0
left_foot
14
14
21
1,271
tackle
75
second_half
successful
0
head
15
15
22
1,897
assist
35
first_half
successful
0.162
head
16
16
23
2,523
foul
92
second_half
successful
0
left_foot
17
17
24
3,149
shot
71
second_half
successful
0.249
head
18
18
25
3,775
shot
80
first_half
successful
0.068
right_foot
19
19
26
4,401
substitution
90
second_half
successful
0
left_foot
20
20
27
5,027
foul
81
second_half
successful
0
left_foot
21
21
28
5,653
interception
52
first_half
successful
0
head
22
22
29
6,279
assist
28
second_half
successful
0.062
head
23
23
23
23
tackle
66
second_half
successful
0
left_foot
24
24
24
649
pass
39
first_half
successful
0
left_foot
25
25
25
1,275
foul
6
second_half
successful
0
right_foot
26
26
26
1,901
save
77
second_half
successful
0
right_foot
27
27
27
2,527
yellow_card
19
first_half
unsuccessful
0
left_foot
28
28
28
3,153
save
84
second_half
successful
0
head
29
29
29
3,779
save
24
second_half
unsuccessful
0
right_foot
30
30
30
4,405
substitution
1
first_half
successful
0
head
31
31
31
5,031
tackle
18
second_half
successful
0
head
32
32
32
5,657
yellow_card
1
second_half
unsuccessful
0
left_foot
33
33
33
6,283
assist
54
first_half
successful
0.145
head
34
34
41
41
substitution
10
second_half
successful
0
right_foot
35
35
42
667
foul
81
second_half
successful
0
other
36
36
43
1,293
goal
79
first_half
successful
0.481
left_foot
37
37
44
1,919
substitution
45
second_half
successful
0
other
38
38
45
2,545
save
35
second_half
successful
0
left_foot
39
39
46
3,171
shot
80
first_half
successful
0.593
other
40
40
47
3,797
tackle
90
second_half
successful
0
left_foot
41
41
48
4,423
interception
15
second_half
successful
0
left_foot
42
42
49
5,049
foul
58
first_half
successful
0
other
43
43
50
5,675
tackle
93
second_half
successful
0
left_foot
44
44
51
6,301
tackle
10
second_half
successful
0
right_foot
45
45
45
45
substitution
34
first_half
successful
0
right_foot
46
46
46
671
assist
79
second_half
successful
0.085
left_foot
47
47
47
1,297
yellow_card
71
second_half
successful
0
other
48
48
48
1,923
yellow_card
24
first_half
successful
0
right_foot
49
49
49
2,549
yellow_card
59
second_half
successful
0
left_foot
50
50
50
3,175
save
42
second_half
unsuccessful
0
other
51
51
51
3,801
interception
92
first_half
successful
0
right_foot
52
52
52
4,427
save
75
second_half
successful
0
head
53
53
53
5,053
shot
73
second_half
successful
0.514
left_foot
54
54
54
5,679
yellow_card
79
first_half
successful
0
right_foot
55
55
55
6,305
tackle
11
second_half
successful
0
left_foot
56
56
63
63
goal
29
second_half
successful
0.234
other
57
57
64
689
save
23
first_half
successful
0
other
58
58
65
1,315
interception
60
second_half
successful
0
head
59
59
66
1,941
foul
36
second_half
successful
0
right_foot
60
60
67
2,567
shot
80
first_half
successful
0.297
head
61
61
68
3,193
substitution
50
second_half
successful
0
left_foot
62
62
69
3,819
goal
83
second_half
successful
0.548
other
63
63
70
4,445
substitution
57
first_half
successful
0
head
64
64
71
5,071
save
45
second_half
successful
0
right_foot
65
65
72
5,697
yellow_card
74
second_half
unsuccessful
0
head
66
66
73
6,323
goal
21
first_half
successful
0.313
head
67
67
67
67
tackle
41
second_half
successful
0
right_foot
68
68
68
693
foul
69
second_half
successful
0
other
69
69
69
1,319
substitution
41
first_half
successful
0
left_foot
70
70
70
1,945
goal
75
second_half
successful
0.125
other
71
71
71
2,571
foul
84
second_half
successful
0
right_foot
72
72
72
3,197
substitution
24
first_half
successful
0
left_foot
73
73
73
3,823
interception
94
second_half
successful
0
head
74
74
74
4,449
save
19
second_half
unsuccessful
0
right_foot
75
75
75
5,075
save
76
first_half
successful
0
left_foot
76
76
76
5,701
substitution
21
second_half
successful
0
other
77
77
77
6,327
save
33
second_half
successful
0
left_foot
78
78
85
85
interception
32
first_half
successful
0
left_foot
79
79
86
711
yellow_card
60
second_half
successful
0
right_foot
80
80
87
1,337
goal
92
second_half
successful
0.603
other
81
81
88
1,963
yellow_card
32
first_half
unsuccessful
0
left_foot
82
82
89
2,589
tackle
86
second_half
successful
0
other
83
83
90
3,215
goal
3
second_half
successful
0.18
left_foot
84
84
91
3,841
foul
41
first_half
successful
0
other
85
85
92
4,467
yellow_card
75
second_half
successful
0
other
86
86
93
5,093
pass
39
second_half
successful
0
other
87
87
94
5,719
interception
37
first_half
successful
0
head
88
88
95
6,345
foul
31
second_half
successful
0
right_foot
89
89
89
89
interception
66
second_half
successful
0
right_foot
90
90
90
715
assist
20
first_half
successful
0.115
other
91
91
91
1,341
shot
18
second_half
unsuccessful
0.437
right_foot
92
92
92
1,967
tackle
48
second_half
successful
0
other
93
93
93
2,593
foul
57
first_half
successful
0
head
94
94
94
3,219
substitution
52
second_half
successful
0
left_foot
95
95
95
3,845
assist
6
second_half
successful
0.118
head
96
96
96
4,471
yellow_card
53
first_half
successful
0
right_foot
97
97
97
5,097
assist
12
second_half
successful
0.159
other
98
98
98
5,723
save
35
second_half
successful
0
right_foot
99
99
99
6,349
save
23
first_half
unsuccessful
0
right_foot
100
100
107
107
pass
78
second_half
successful
0
head
End of preview.

Football Match Events Player Performance

Free football analytics sample for match event analysis, player evaluation, and dashboard prototyping.

What is included

  • match_events.csv: 2951 rows, 10 columns
  • matches.csv: 210 rows, 10 columns
  • player_performance.csv: 3794 rows, 10 columns
  • players.csv: 115 rows, 9 columns
  • team_daily_metrics.csv: 421 rows, 10 columns
  • teams.csv: 5 rows, 8 columns

Why this dataset is useful

  • Good starter sample for football dashboards, SQL analysis, and notebook-based exploration.
  • Useful for validating joins across matches, players, teams, events, and daily metrics.
  • Keeps the package lightweight while preserving the linked structure of the full dataset.

Starter use cases

  • Match event and xG baseline analysis.
  • Player contribution and team form dashboard prototype.

Schema overview

match_events.csv

  • Rows: 2951
  • Columns: event_id, match_id, team_id, player_id, event_type, minute, period, event_outcome, xg_value, body_part

matches.csv

  • Rows: 210
  • Columns: match_id, home_team_id, away_team_id, match_date, venue_type, match_result, attendance, home_score, away_score, competition

player_performance.csv

  • Rows: 3794
  • Columns: performance_id, match_id, team_id, player_id, minutes_played, shots_total, rating_score, starter_flag, goals, assists

players.csv

  • Rows: 115
  • Columns: player_id, team_id, player_name, primary_position, age, nationality, dominant_foot, market_value_m, squad_role

team_daily_metrics.csv

  • Rows: 421
  • Columns: metric_id, team_id, metric_date, goals_scored, avg_team_rating, matches_played, points_won, goals_conceded, possession_pct, xg_for

teams.csv

  • Rows: 5
  • Columns: team_id, country, team_name, league_name, stadium_name, coach_style, tactical_shape, squad_value_m

Free vs full version

  • Free Kaggle sample: reduced rows, reduced columns, starter notebook, and enough linked football tables for realistic evaluation.
  • Full version: full row volume, richer feature set, full field coverage, and a stronger package for advanced sports analytics and ML workflows.

Upgrade to full version

Notes

  • Contains generated data only and no real personal data.
  • Designed as a lightweight free sample for evaluation and discovery.
Downloads last month
20