S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which function is used to merge two DataFrames on a key column?

  • (A) concat()
  • (B) merge()
  • (C) join()
  • (D) combine()
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
merge() combines two DataFrames based on common columns or indices, similar to SQL joins.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.