Uploaded by jaishankerk456

lun jo matho

advertisement
Q2:
For finding the best ODL Batsman player of Pakistan we have to use 2 main columns including runs and
Player namé. Then we will plot a bar graph using these 2 columns, and in the bar graph the top most
highest score Batsman will be the best ODL Batsman player of Pakistan.
So, likewise I also used this process and created a bar graph using matplotlib library of python and puted
the span on x-axis and player names on y-axis.
Here is the plot.
Q: 3
For creating the relationship between two attribute we have to use scatter plot because scatter plot is
the best plot for visualization of relation between two different attributes.
In the same way I also used this scatter plot for checking the relation between the number of matches
played and highest score.
How created the plot?
Scatter plot created using matplotlib library of python in which I have placed the highest score on x-axis
and matches player on y-axis. And the bots of the graph will show that is there any relation or not. If
there will be any relation then the dots will make a particular pattern else these bots will be spreaded in
the bar.
Here is the graph:
2 part Q: 1
As same as the average number of matches
Download