🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Project and Interview: all 10 questions

Quiz: Project and Interview · Question 5 of 10

What is the difference between merge and concat in pandas?

What is the difference between merge and concat in pandas?

  1. A.merge joins tables on key columns; concat stacks tables along rows or columns
  2. B.They are identical
  3. C.concat joins on keys; merge stacks
  4. D.merge only works on numbers
Answer & explanation

Correct answer: merge joins tables on key columns; concat stacks tables along rows or columns

Like SQL JOIN vs UNION.

Can you get the rest right without peeking?

Take the timed Quiz: Project and Interview quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →