How do you calculate the mean and median using NumPy?
Asked in the 1st Round Technical Interview stage.
Implement calculate_statistics(values). The function receives a non-empty list of numbers and returns a dictionary with floating-point keys mean and median. Use NumPy for both calculations.
def calculate_statistics(values):