Professional Documents
Culture Documents
Final Ipl Project 1
Final Ipl Project 1
ON
IPL ANALYSIS
Submitted by
Aethen Paul Mathew
Class XII C
INDEX•
•DECLARATION................................….........................................5
• ACKNOWLEDGMENT.................................................................6
• WORKING DESCRIPTION..................................................12-13
• DATA COLLECTION...................................................................14
• DATA VISUALIZATION........................................………..............15
• SOURCE CODE...........................................................................16
• OUTPUT........................................................................................23
• CONCLUSION............................................................................32
• BIBLIOGRAPHY………………………………………………………………………….34
DECLARATION
department of INFORMATICS
efforts.
Submitted by
Aethen Paul Mathew
Class XII C
ACKNOWLEDGMENT
Primarily I would thank God for being able to complete this
the project and make it full proof success. Her suggestions and
• CSV Connectivity
• INTRODUCTION ABOUT PYTHON
language.
FEATURES OF PYTHON
• Python is a high level, open source, general purpose
programming language.
APPLICATIONS OF PYTHON
• Machine Learning
• Data Analysis
• Web Development
• 3D CAD Applications
INTRODUCTION ABOUT MYSQL
ADVANTAGES OF MYSQL
• Modifiable
• Integrity
• Authorization
SOFTWARE AND HARDWARE
REQUIREMENTS
SOFTWARE REQUIREMENTS:
HARDWARE REQUREMENTS :
• 4GB RAM
partner is.
www.iplt20.com,www.cricsheet.org. Data
2008-18.
and teams.
SOURCE CODE
(e.g. pd.read_csv)
plt.rcParams['figure.figsize'] = (14, 8)
sns.set_style("darkgrid")
df = pd.read_csv("E:¥ipl1.csv")
Print('--------------------------------------------')
print(' --------------------------------------------')
print(df.info())
print()
print(' --------------------------------------------')
print('--------------------------------------------')
print()
print('-------------------------------------------- ')
print('--------------------------------------------')
print()
print('--------------------------------------------')
print('--------------------------------------------')
print(df.iloc[df['win_by_runs'].idxmax()])
print()
print('--------------------------------------------')
print('--------------------------------------------')
print(df.iloc[df['win_by_wickets'].idxmax()]
['winner])
print()
print('--------------------------------------------')
print('--------------------------------------------')
runs?')
print(df.iloc[df[df['win_by_runs'].ge(1)].win_by_runs.id
xmin()]['winner'])
print()
print('--------------------------------------------')
print('--------------------------------------------')
print(df.iloc[df[df['win_by_wickets'].ge(1)].win_by wic
kets.idxmin()))
print()
print('--------------------------------------------')
print('--------------------------------------------')
sns.countplot(x='season', data=df)
plt.show()
print()
print('--------------------------------------------')
print('--------------------------------------------')
print('The Most Successful IPL Team is:::')
data = df.winner.value_counts()
print()
print('--------------------------------------------')
print('--------------------------------------------')
top_players=df.player_of_match.value_counts()[:10]
fig, ax = plt.subplots()
ax.set_ylim([0,20])
ax.set_ylabel("Count")
#top_players.plot.bar()
#palette="Blues");
plt.show()
Output
<class 'pandas.core.frame. DataFrame'>
Season_Year match_winner
Kings XI Punjab 10
Delhi Daredevils 7
Mumbai Indians 7
Deccan Chargers 2
Deccan Chargers 9
Kings XI Punjab 7
Rajasthan Royals 6
Mumbai Indians 5
Deccan Chargers 8
Delhi Daredevils 7
df['Season_Year'].value_counts()
2013 76
2012 74
2011 73
2017 60
2016 60
2014 60
2010 60
2015 59
2008 58
2009 57
-----------------------------------
Selector needs young and dynamic players who can handle the
the toss, Toss Decision Season Wise, Toss Decision Team Wise.
2008-2018.
the best captain for CSK who won the toss maximum times
elected by the captains so that they can plan and perform well
the times having count of 57 and 49. Selectors have the clear
BIBLIOGRAPHY
Preeti Arora
2. http//:en.wikipedia.org
3. http//:www.botskOOl.com