S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to combine DataFrames with overlapping columns, filling missing values with NaN?

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

Explanation by: Sikhar Chaudhary
combine_first() combines two DataFrames, filling missing values in one DataFrame with values from the other.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics