S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method is used to join two DataFrames based on their index?

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

Explanation by: Shyam Dubey
The join() method combines DataFrames based on their index, similar to SQL JOIN.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.