A

Admin • 828.03K Points
Coach

Q. Which method combines two DataFrames column-wise?

  • (A) concat(axis=0)
  • (B) concat(axis=1)
  • (C) merge()
  • (D) groupby()
  • Correct Answer - Option(B)
  • Views: 4
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
axis=1 stacks DataFrames horizontally (column-wise).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.