Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Quantile calculate
#3
(Jul-04-2019, 05:13 AM)ThomasL Wrote: pandas.DataFrame.quantile
https://en.wikipedia.org/wiki/Quantile

anybody can explain how we can calculate first quartile value of column "2016" for row "0.25" and its value is 43875.0 ? Actually mathematically its value is wrong and correct value is 40750...please correct me if i am wrong ?

Now problem has been resolved. i used interpolation as midpoint.

interpolation : {‘linear’, ‘lower’, ‘higher’, ‘midpoint’, ‘nearest’}
Reply


Messages In This Thread
How Quantile calculate - by ift38375 - Jul-04-2019, 01:14 AM
RE: How Quantile calculate - by ThomasL - Jul-04-2019, 05:13 AM
RE: How Quantile calculate - by ift38375 - Jul-04-2019, 07:17 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020