Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) DataFrame.sum()(I) To display the middle values of a data .
(B) DataFrame.median()(II) To display the sum of values of a DataFrame.
(C) DataFrame.quantile(q=.25)(III) To display the average of squared differences from the mean.
(D) DataFrame.var()(IV) First quartile

Solution

✅ Correct Option: 3
List IList II
(A) DataFrame.sum()(II) To display the sum of values of a DataFrame.
(B) DataFrame.median()(I) To display the middle values of a data.
(C) DataFrame.quantile(q=.25)(IV) First quartile
(D) DataFrame.var()(III) To display the average of squared differences from the mean.

quantile(q=.25) gives the value below which 25% of the data lies, which is the first quartile (Q1). The median is the same as quantile(q=.5).

Variance is the average of squared deviations from the mean, and standard deviation (std()) is its square root.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question