I saw it in the 0.24.2 pandas documentation pandas.DataFrame.values that
Warning We recommend using DataFrame.to_numpy() instead.
Why is to_numpy() preferred over DataFrame.values? Can someone explain it in details?
I am asking this because I have probably written about hundreds of codes using DataFrame.values for converting a pandas DataFrame to numpy array thus far. If the underlying reason is serious, then I should probably go back to change everything with .values to to_numpy().