For a given vector x
, I would like to provide a value (say np.mean(x)
) and I am looking for the percentile this value falls in. Any such built in numpy function or easy way to implement it?
Asked
Active
Viewed 7,262 times
2

user8834780
- 1,620
- 3
- 21
- 48
-
Did you look throught the documentation? – wwii Feb 11 '18 at 19:28
-
@wwiiu unfortunately yes. Found this: scipy.stats.percentileofscore but I am looking to stick to numpy – user8834780 Feb 11 '18 at 19:28
-
2https://stackoverflow.com/a/29989971/5351549 – ewcz Feb 11 '18 at 19:33