S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which pandas method is used to combine two DataFrames along columns?

  • (A) concat(axis=1)
  • (B) merge()
  • (C) append()
  • (D) join()
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
Using pd.concat() with axis=1 combines DataFrames along columns.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics