AttributeError: 'numpy.ndarray' object has no attribute ...
https://stackoverflow.com/questions/4011248718.10.2016 · For a list of all methods available for an ndarray, see the numpy documentation for ndarray. It is available as a function that takes the array as an argument: >>> import numpy as np >>> a = np.array ( [1,2,3,4,5,6,7,8,9,10]) >>> np.median (a) 5.5