Dataframe.quantile() is used to get the quartiles. The second quantile is known as _____________.
Dataframe.quantile() is used to get the quartiles. The second quantile is known as _____________.
Solution
✅ Correct Option: 4
The second quartile (Q2) splits the sorted data into two equal halves, so 50% of the values lie below it. That is the definition of the median. In pandas, df.quantile(0.5) returns the median.
Option 1: the mode is the most frequent value, and it is not found using quantiles.
Option 2: the mean is the arithmetic average, and it can differ from the median when the data is skewed.
Q1 is the 25th percentile (quantile(0.25)), Q2 is the 50th percentile (quantile(0.5)), and Q3 is the 75th percentile (quantile(0.75)).
Related questions:
2025: 20 May Shift 1
2026: 29 May Shift 1
2026: 29 May Shift 1