Which pandas function combines DataFrames like a SQL join in Python?
-
A
pd.merge()
Correct answer
-
B
pd.join_all()
-
C
pd.link()
-
D
pd.attach()
Correct answer
A. pd.merge()
5 views
Explanation
merge joins on keys; concat stacks frames.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ