Is there a pandas method to find the 4th 5-quantile of a dataset?
4th 5-quantile translates value = data.quantile(4/5)
I was recently trying to solve a data science test. Part of the test was to get the number of observations in a dataset for which the variable X is less than the 4th 5-quantile of this variable X.
I don't realy understand what they meant by the 4th 5-quantile! I tried using pandas df.quantile function but I wasn't able to figure out how to use it in my case