Informatics Practices

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

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

Python Pandas

1 Like

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.

Answered By

2 Likes


Related Questions