This project analyzes the batting performance of Virat Kohli, one of the most famous cricketers in the world. The project analyzes the performance of Virat Kohli in ODI matches from 18 August 2008 to 22 January 2017. The dataset contains information about runs, balls faced, number of 4s and 6s, strike rate, batting position, dismissal, innings, opposition, ground, and start date. The project uses Python libraries such as pandas, numpy, plotly.express, and plotly.graph_objects to analyze the data. The project calculates the total runs scored by Virat Kohli, his average runs, and the trend of runs scored by him in his career.
To run this project, you need to have Python 3.x installed on your system. You also need to install the following Python libraries:
- pandas
- numpy
- plotly.express
- plotly.graph_objects
You can install these libraries using pip. Here's how:
pip install pandas numpy plotly-express plotly
To use this project, you need to download the dataset. Once you have downloaded the dataset, you can run the kohli.py
file to analyze the data.