CBSE Class 12 Informatics Practices Question 45 of 101

Python Pandas — II — Question 21

Back to all questions
21
Question

Question 21

Which of the following methods of combining two DataFrames is a patching method ?

  1. concat()
  2. merge()
  3. join()
  4. none of these
Answer

join()

Reason — The join() function in pandas is a patching method, which means that it aligns the DataFrames based on a common index or set of keys, and then combines them.