I stumbled upon this post: Weighted percentile using numpy for weighted percentiles. All of the solutions that were given were outputting slightly different results. I'm still relatively new to this community and I wasn't sure whether creating a new post would be best to ask this question, so please let me know if this is not the best place to do this.
I don't think I fully understand the math behind the formulas and the solutions that were provided. I was wondering if someone knows the math behind the percentile formulas.