Quartile
noun
say it: “KWOR-tyle” /ˈkwɔrˌtaɪl/
One of the three values that split a sorted list of numbers into four equal parts, such as the value a quarter of the numbers fall below.
What is a quartile?
A quartile is one of three values that cut sorted data into four equal parts. A quarter of the values are at or
below the first quartile, half at or below the second (the median), and three quarters at or below the third.
describe() shows them as 25%, 50% and 75%.
import pandas as pd
units = pd.Series([4, 8, 12, 16, 20, 24, 28, 32, 36])
units.quantile([0.25, 0.5, 0.75]) # 12.0, 20.0, 28.0
In a sentence
- “describe() lists each quartile as 25%, 50% and 75%.”
- “The first quartile of units sold was 12, so a quarter of the sales were 12 units or fewer.”
Level: Journeyman · More Python terms at this level
Updated