Q. Which method converts a pandas DataFrame to an HTML table?
β
Correct Answer: (A)
to_html()
Explanation: The to_html() method converts a DataFrame into an HTML table string.