← 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?
- A.merge joins tables on key columns; concat stacks tables along rows or columns
- B.They are identical
- C.concat joins on keys; merge stacks
- 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 →