Direction: Choose the correct option
Q1.
How do you merge two DataFrames on a common column in pandas?
Direction: Choose the correct option
Q2.
What is the default type of join in `pd.merge()`?
Direction: Choose the correct option
Q3.
How do you perform a left join in pandas merge?
Direction: Choose the correct option
Q4.
What does `df1.join(df2, on='key')` assume about index?
Direction: Choose the correct option
Q5.
What is the result of merging on columns with different names?
Direction: Choose the correct option
Q6.
How do you concatenate two DataFrames vertically (row-wise)?
Direction: Choose the correct option
Q7.
What does `pd.concat([df1, df2], axis=1)` do?
Direction: Choose the correct option
Q8.
How do you handle duplicate column names after merge?
Direction: Choose the correct option
Q9.
What is the output of `pd.merge(df1, df2, how='outer', indicator=True)`?
Direction: Choose the correct option
Q10.
Which operation is used to combine DataFrames with overlapping indexes but different columns?
