<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, <div>I know the topic was already raised a long ago: </div><div><a href="https://mail.scipy.org/pipermail/numpy-discussion/2010-July/051851.html">https://mail.scipy.org/pipermail/numpy-discussion/2010-July/051851.html</a></div><div><br></div><div>There are also several questions on SO:</div><div><a href="http://stackoverflow.com/questions/20601872/numpy-or-scipy-to-calculate-weighted-median">http://stackoverflow.com/questions/20601872/numpy-or-scipy-to-calculate-weighted-median</a></div><div><a href="http://stackoverflow.com/questions/13546146/percentile-calculation-with-weighted-data">http://stackoverflow.com/questions/13546146/percentile-calculation-with-weighted-data</a></div><div><a href="http://stackoverflow.com/questions/26102867/python-weighted-median-algorithm-with-pandas">http://stackoverflow.com/questions/26102867/python-weighted-median-algorithm-with-pandas</a></div><div><br></div><div>The only working solution with numpy:</div><div><a href="http://stackoverflow.com/questions/21844024/weighted-percentile-using-numpy">http://stackoverflow.com/questions/21844024/weighted-percentile-using-numpy</a></div><div>uses sorting. </div><div><br></div><div>Are there better options at the moment (numpy/scipy/pandas)?</div><div><br></div><div>Cheers, </div><div>Alex.</div></body></html>