Add pressing & transitional play analysis for Arsenal 1-1 Man City (Sep 2025)#2
Draft
zhub9006 wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pressing & Transitional Play Analysis — Arsenal 1-1 Man City (Sep 21, 2025)
This PR adds a practical Python script for analyzing pressing patterns and transitional moments, motivated by the tactical richness of this specific Premier League fixture.
Why This Match
Arsenal 1-1 Man City (Haaland 9', Martinelli 90+3') is an excellent case study for pressing/transitional analysis:
What's Added
New file:
08. Latest Work & Codes/pressing_transitional_analysis.pyThe script includes four analysis functions:
ball_recovery_map()— Visualize where each team won the ball (high press zone vs counter outlet)pressing_heatmap()— 2D density heatmaps from Statsbombpressureevents (pre/post subs)transitional_sequence_map()— Annotated arrows tracing the two defining transitional momentsverticality_bar_chart()— Metric comparison across verticality & transition categoriesStatsbomb Integration
The script references these Statsbomb Open Data fields directly relevant to pressing analysis:
ball_recovery_place— positional pressing successpressure_place— where each team pressedUsage
python 08. Latest Work & Codes/pressing_transitional_analysis.pyGenerates 4 plots + text summary with all post-match observations.
Related Issue
Closes the community discussion about adding pressing/transitional analysis capabilities to the repo's event data notebooks.
Data sources: BBC Sport live text, Arsenal.com match report (Sep 21, 2025), Metro, ESPN. Statsbomb Open Data.