You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm so sorry that I saw this message nearly a month later. np.quantile and np.percentile are equivalent. The only difference is that the q parameter np.quantile is in range [0, 1], while the one in np.percentile is in range [0, 100]. See details in https://docs.scipy.org/doc/numpy/reference/generated/numpy.quantile.html
thanks for your reply,the version for numpy that I used is too low that encounted the attributeerror,when I test np.quantile in numpy of version 1.18+ is ok.
the usage of np.quantile is not correct, you may use np.percentile or df[x].quantile
The text was updated successfully, but these errors were encountered: