Q. Which method reshapes a DataFrame from wide to long format?
β
Correct Answer: (A)
melt()
Explanation: The melt() method converts wide format DataFrames into long format for easier analysis.