Virat Kohli vs KL Rahul

Gowtham S R
6 min readJun 28, 2022

--

Is Virat Kohli still the best batsman ? Is KL Rahul overtaking Virat Kohli ? Who has better numbers in last 5 years ? What does the IPL data say ? Want to know some of the unknown stats of IPL ?

Photo from Unsplash uploaded by Ajay Parthasarathy

Let me answer the above questions using IPL data analytics with python(you can check the github.com repository for the full code- the link given at the end of the blog).

Let us look at some of the unknown stats of IPL, and then we will analyze the stats of Virat and KL Rahul for the last 5 IPL seasons.

Unknown/Little known stats of IPL:

  • We know that Chris Gayle and Brendon McCullum are among the most destructive batsmen in IPL, but the unknown fact is Chris Gayle and McCullum are the top 2 batsmen with the highest dot ball percentage (min balls faced 2000) with 46 and 45% respectively.
  • Even though Chris Gayle is at the top of the table in terms of dot ball percentage, he is the batsman with 2nd highest strike rate(min balls faced 2000)
  • Shikhar Dhawan and David Warner are the batsmen who have taken the most 3s in their IPL career, both with 23 3s, then comes Virat Kohli with 19 3s.
  • Most 4s are hit in the 4th over of IPL till now with a tally of 1911 and most 6s are hit in the 20th over with a tally of 866.
  • David Warner scored the most runs in the 1st over(424) and MS Dhoni scored the most runs in the 20th over of IPL (655).
  • Bhuvaneshwar Kumar conceded the most runs in the 1st over while DJ Bravo conceded the most runs in the 20th over.
  • Dinesh Karthik was involved in 37 run-outs, in which he was out only 13 times, and his partner got dismissed on other 24 occasions.

Overall Batting Statistics:

Overall Batting Stats in IPL
Bar graph showing different stats of top batsmen in IPL
Bar graph showing different stats of top batsmen in IPL

Virat’s IPL stats:

Photo of Virat Kohli celebrating his 100, posted on instagram
Virat’s overall IPL stats
Virat Kohli's IPL stats till 2022
Virat’s overall IPL stats across seasons
Virat’s runs across all seasons of IPL

Virat’s stats across different phases:

Virat’s stats across the different phases

10 Bowlers against whom Virat has scored the most runs:

10 bowlers against whom Virat Kohli has scored more runs
Bowlers against whom Virat has scored the most runs

10 Bowlers against whom Virat has scored most boundaries:

Bowlers against whom Virat has scored most fours
Bowlers against whom Virat has scored most sixes

10 Bowlers who have dismissed Virat the most:

Bowlers dismissing Virat the most

10 Bowlers against whom Virat has the most dot ball percentage (minimum 20 balls played):

Virat struggles against these bowlers

10 Bowlers against whom Virat has a good strike rate(minimum 20 balls played):

Bowlers against whom Virat has dominated

Virat’s Strike rate increases while playing with these partners( min balls played 20):

10 batting partners with whom Virat enjoys playing aggressively

Virat’s Strike rate decreases while playing with these partners(min balls played 20):

10 batting partners with whom Virat plays defensively

KL Rahul’s IPL stats :

KL Rahul celebrating his 100 posted on Instagram
KL Rahul’s overall IPL statistics
KL Rahul's IPL stats till 2022
KL Rahul’s stats across all seasons of IPL
KL Rahul’s runs across all seasons of IPL

KL Rahul’s stats across different phases:

KL Rahul’s stats across different phases

10 Bowlers against whom KL Rahul has scored the most runs:

Bowlers against whom KL Rahul has scored the most runs

10 Bowlers against whom KL Rahul has scored most boundaries:

Bowlers against whom KL Rahul has scored most fours
Bowlers against whom KL Rahul has scored the most sixes

10 Bowlers who have dismissed KL Rahul the most:

Bowlers who have dismissed KL Rahul the most

10 Bowlers against whom KL Rahul has the most dot ball percentage (minimum 20 balls played):

KL Rahul struggles to score against these bowlers

10 Bowlers against whom KL Rahul has a good strike rate(minimum 20 balls played):

KL Rahul enjoys betting against these bowlers

KL Rahul’s strike rate increases while playing with these partners( min balls played 20):

10 batting partners with whom KL Rahul enjoys playing aggressively

KL Rahul’s strike rate decreases while playing with these partners( min balls played 20):

10 batting partners with whom KL Rahul plays defensively

Comparison between Virat and Rahul (2018 to 2022):

Image by author
Virat Kohli vs KL Rahul stats (2018–2022)
  • From the above graphs, we can clearly observe that KL Rahul’s runs, balls faced, fours, sixes, strike rate, runs per innings, and balls per dismissal are way ahead when compared to Virat since season 2018.
  • Let's appreciate the stats of KL Rahul and hope that Virat Kohli will come back to his prime form in the coming days.

Thanks for reading, you can get the full code from my GitHub repository.

If you are confused about the confusion matrix, precision, recall, accuracy,f1 score then read the below blog.

If you want to know more about feature scaling techniques, and the differences between standardization and normalization, read the below blog.

You can connect with me on LinkedIn from this link.

For the best data science book click here

--

--