Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) Default aggregate function(I) mean( )
(B) Default quantile(II) Second
(C) Default value of axis parameter in aggregate function(III) True
(D) Default value of index parameter while exporting data from Pandas to MySQL using pandas.DataFrame.to_sql( )(IV) 0

Solution

✅ Correct Option: 3
List IList II
(A) Default aggregate function(I) mean( )
(B) Default quantile(II) Second
(C) Default value of axis parameter in aggregate function(IV) 0
(D) Default value of index parameter in to_sql( )(III) True

The default quantile is 0.50.5, which is the second quartile (the median), hence "Second".

Axis 00 means the function works down each column. With index=True, to_sql( ) also writes the DataFrame index as a column in the MySQL table.

Keyboard Shortcuts

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