Q. Which method converts a DataFrame to a NumPy array?
β
Correct Answer: (A)
to_numpy()
Explanation: The to_numpy() method returns the DataFrame as a NumPy array, preserving the data values.