Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
Indian Premier League Data Analysis Using Python Pandas
Courtesy to https://www.kaggle.com/ramjidoolla/ipl-data-set# for the dataset
This notebook is the course project to zerotopandas lecture series where we have to analyze a real world dataset, solve some queries and provide insights and inferences. For this project, I have chosen an IPL dataset which is abbreviated as Indian Premier League, a T-20 cricket format organized in India. The dataset contains deliveries to the batsman, number of matches, strike rate of players and teams participating in the competition. The aim of this project is to implement the concepts acquired throughout the course.
Image(filename = "ipl.jpg")
import sys
!{sys.executable} -m pip install wordcloud
Collecting wordcloud
Downloading wordcloud-1.8.0-cp38-cp38-win_amd64.whl (159 kB)
Requirement already satisfied: pillow in d:\python\lib\site-packages (from wordcloud) (7.0.0)
Requirement already satisfied: numpy>=1.6.1 in d:\python\lib\site-packages (from wordcloud) (1.18.1)
Requirement already satisfied: matplotlib in d:\python\lib\site-packages (from wordcloud) (3.2.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (2.4.7)
Requirement already satisfied: cycler>=0.10 in d:\python\lib\site-packages (from matplotlib->wordcloud) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (1.2.0)
Requirement already satisfied: python-dateutil>=2.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (2.8.1)
Requirement already satisfied: six in c:\users\nilansh thakur\appdata\roaming\python\python38\site-packages (from cycler>=0.10->matplotlib->wordcloud) (1.14.0)
Installing collected packages: wordcloud
Successfully installed wordcloud-1.8.0
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the 'd:\python\python.exe -m pip install --upgrade pip' command.
import sys
!{sys.executable} -m pip install emoji
Collecting emoji
Downloading emoji-0.6.0.tar.gz (51 kB)
Using legacy setup.py install for emoji, since package 'wheel' is not installed.
Installing collected packages: emoji
Running setup.py install for emoji: started
Running setup.py install for emoji: finished with status 'done'
Successfully installed emoji-0.6.0
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the 'd:\python\python.exe -m pip install --upgrade pip' command.
The code below imports all the necessary libraries required for the analysis such as matplotlib and seaborn for visualization, numpy and pandas for data processing and generating queries.
List of Libraries required for the project:
numpy
pandas
matplotlib
seaborn
jovian