Learn practical skills, build real-world projects, and advance your career

IPL (Indian Premier League) DATA ANALYSIS

title

Indian Premier League (IPL) is a domestic Indian T-20 cricket league which started in the year 2008, founded by Board of Control for Cricket in India (BCCI) in the year 2007.
The dataset downloaded from https://www.kaggle.com/patrickb1912/ipl-complete-dataset-20082020 , consists of two files,
1. "IPL Matches 2008-2020.csv"
2. "IPL Ball-by-Ball 2008-2020.csv" .
Both files have been used in the project for Jovian.ml - Data Analysis with Python: Zero to Pandas.
Project is divided into following parts :
[A] Data Preperation and Cleaning
[B] Exploratory Analysis and Visualization [ Matches played every season, Teams' performance, Venue Stats, etc. ]
[C] Questions
[D] Inferences and Conclusion
[E] Future Work and References

[A] Data Preparation and Cleaning:

Both the datasets are going to be loaded and the contents of those datasets are going to be explored.
After importing the required python libraries, we will observe what columns are there in the datasets, what kind of values do they have, etc., which would give us a picture of what the dataset is trying to tell us.
Accordingly we might modify the datasets as per our convenience.
# importing python libraries : 

import pandas as pd
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import seaborn as sns
#reading the 'IPL Matches 2008-2020.csv' into 'ipl_matches' dataframe :

ipl_matches = pd.read_csv('IPL 2008-2020/IPL Matches 2008-2020.csv')

# displaying ipl_matches dataframe

ipl_matches