Open mbecker3 opened 6 years ago
The documentation for percentiles in numpy states that the function requires two paramaters: (1) the data, and (2) a list of the values of the percentiles of interest.
I was doing 9 which is similar and when I did it I had q1 equaling the np.percentile(a,25) and then I printed q1 which gave me a single number. So try putting a (a,20) and you should get one number.
I used a = np.array(data) p = np.percentile(a,)
which ended up printing a large list of numbers, when all I need is four percentiles, so I'm confused on what to do.