I have a below list.
33, 26, 24, 21, 19, 20, 18, 18, 52, 56, 27, 22, 18, 49, 22, 20, 23, 32, 20, 18
All I am trying is to find the the 25th Percentile.
I used simple numpy program to find it.
import numpy as np
arr = [33, 26, 24, 21, 19, 20, 18, 18, 52, 56, 27, 22, 18, 49, 22, 20, 23, 32, 20, 18]
np.percentile(arr,25)
Output is : 19.75
But If we count is manually or Use Excel the 25th percentile comes as 19.25.
I expect the output as 19.25 but the actual output from numpy is 19.75. Can someone please help what is wrong here?