From pandas documentation, I found the function to_numpy
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_numpy.html
But when I tried it(the same example as in the documentation), I have:
'DataFrame' object has no attribute 'to_numpy'.
Do you know from where could be the problem?