Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) To display the variance of a DataFrame.(I) DateFrame.mode()
(B) To display the value that appears the most number of times in a data.(II) DataFrame.var()
(C) To display the middle value of of each column of a DataFrame.(III) DataFrame.mean()
(D) To display the average of the values of each column of a DataFrame.(IV) DataFrame.Median()

Solution

✅ Correct Option: 2
List IList II
(A) Variance of a DataFrame(II) DataFrame.var()
(B) Value appearing most often(I) DataFrame.mode()
(C) Middle value of each column(IV) DataFrame.Median()
(D) Average of each column(III) DataFrame.mean()

Mode = most frequent value, median = middle value, mean = average. In actual pandas the method is written in lowercase, as median().

Keyboard Shortcuts

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