Python Numpy Mini Projects: Cricket Score Analysis
This program analyses a cricket player’s scores across many matches he/she played. It is a moderate mini project to implement. It needs some array to store the data, many functions are used. Here, is the implementation. Implementation: This implementation starts with include numpy and its object. The score details are included in the array and displayed. The following daata’s are calculated. Total runs,Average and highest scores are displayed. Century and half century values are noted. Scores above the average are displayed. Standard deviation values are calculated and displayed. Finally, best match and score are displayed. Code: import numpy as np1 #score board scores = np1.array(list(map(int, input("Enter the Cricket score of the player separated by space: \n ").split()))) print("Scores are displayed here:\n", scores) print("\nTotal Runs of the player:", np1.sum(scores)) print("Average Score of the pla...