Q. Which method is used to expand lists or dicts in a DataFrame column into separate columns?
β
Correct Answer: (A)
explode()
Explanation: The explode() method transforms each element of a list-like to a separate row, effectively flattening the column.