Thus, if one would like to make a decision on who to put larger money on to acquire for the next season, IPL 2020 (currently going on), it would just get difficult. You may note that it becomes difficult to find out about the performance of batsmen across different seasons. Line chart of Batting Average Scores across different IPL Seasons Let's plot the line charts of batting average scores for individual batsmen listed in this post. This is where the trend line comes into the picture. However, it becomes difficult to find the trend given the complexity of the line chart. There are scenarios when a numerical entity changes with time, which is represented using a line chart or line plot or line graph. Why/When Use a Trend Line With a Line Chart? Here are their batting average scores in IPL seasons from the last 10 years from 2010 - 2019:īefore getting ahead and understanding the code related to the line chart and related trendlines, let's understand why the trend line is needed. Chris Gayle - Rohit Sharma - Dhoni - Virat Kohli Having said that, the batting scores mean and variance/standard deviation also comes into the picture in taking the final decision on who to put larger money on. What's the main reason we want to understand the trend line? The primary goal is to assess who could the larger money be put in order to acquire him for the team? The batsman who has the largest upward trend line with the highest slope is the one I would like to put my money on. In this post, we will consider an example of IPL average batting scores of Virat Kohli, Chris Gayle, MS Dhoni, and Rohit Sharma of the last 10 years and assess the trend related to their overall performance using trend lines. As a data scientist, it proves to be helpful to learn the concepts and related Python code, which can be used to draw or add the trend line to the line charts as it helps understand the trend and make decisions. In this article, you will learn how to add a trend line to the line chart/line graph using Python Matplotlib.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |