/Kaggle-football-dataset-analysis-using-python

Statistical data analysis of kaggle football dataset using python.

Primary LanguageJupyter Notebook

Data Analysis report on Kaggle football dataset

  • Spot weaknesses and strengths in the teams/players in order to help them.
  • Look at the performance of teams & players.
  • Explore which kind of game piece the best team is using to win.
  • Statistical Data Analysis on the kaggle football dataset.
  • Detailed Analysis of Cards

What is this project?

Football Dataset Analysis is a project to analyse and extract information from the kaggle football dataset. I have mainly focused on Spanish La Liga in my analyses. Kindly see all the outputs of analysis in the pdf report above.

Tools and libraries used for development;

  • ditor: Jupyter Notebook
  • Programming language: Python 3
  • Libraries:
    1. numpy
    2. warning
    3. matplotlib
    4. pandas
    5. seaborn

Dataset Description:

  • Game_info.csv
    • ID: game id
    • General: league, season, date and host country.
    • Teams: home and away teams.
    • Results: home and away goals.
    • Odds: odds on (home win, away win and draw)
  • Events.csv:
    • ID: game id and event id.
    • Teams: playing team and opponent.
    • Player: players involved in the event, bodypart, assist method and
    • situation.
    • Shot: location (in the pitch), outcome, place, and is_goal or not.

Detailed Analysis of Goals:

  • Most offensive teams in La Liga

    alt text

  • Most offensive Players in La Liga

    alt text

  • The teams with best shooting accuracy in La Liga

    alt text

  • Goals scored by teams in the first 15 minutes and the last 15 minutes

    alt text

  • Goal Situation & Shot Outcome: Barcelona vs Real Madrid

    • Real Madrid alt text

    • Barcelona alt text

  • Team analysis for red cards in La Liga

    alt text

  • Red card occurance v/s Time

    alt text

  • When are goals most likely to be scored in La Liga

    alt text

  • Placement of penalties on the goal

    alt text

Codes

All the codes can be found in the two python notebooks uploaded above.