Skip to main contentSkip to solution

Match List-I with List-II

List-I - DataFrame functionList-II - Usage
(A) df.std()(I) display the average of the squared differences from the mean
(B) df.mean()(II) used to get the quartiles
(C) df.var()(III) display the average of each column
(D) df.quantile()(IV) display the square root of the variance

Solution

✅ Correct Option: 1
List IList II
(A) df.std()(IV) display the square root of the variance
(B) df.mean()(III) display the average of each column
(C) df.var()(I) display the average of the squared differences from the mean
(D) df.quantile()(II) used to get the quartiles

Standard deviation is the square root of variance, so std() and var() are easily swapped. Remember: var = squared differences, std = its square root.

Keyboard Shortcuts

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