Dataframe Conversion API MisusedUse df.to_numpy() in Pandas instead of df.values() for transform a DataFrame to a NumPy array.