Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) rename()(I) To display rows of a series from the top.
(B) tail()(II) To change the name of a row or column in a DataFrame.
(C) drop()(III) To display rows of a DataFrame from the bottom.
(D) head()(IV) To delete a row or column in a DataFrame.

Solution

✅ Correct Option: 2
List IList II
(A) rename()(II) To change the name of a row or column in a DataFrame.
(B) tail()(III) To display rows of a DataFrame from the bottom.
(C) drop()(IV) To delete a row or column in a DataFrame.
(D) head()(I) To display rows of a series from the top.

head() and tail() are easily swapped: head = top rows, tail = bottom rows (the last 5 by default).

Keyboard Shortcuts

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