Skip to content

Consider changing df.values to df.to_numpy()

Task Description

Pandas is recommending the use of df.to_numpy() instead of df.values Ref. As we are using Frame.values in several places, we should consider replacing it.

Sub-tasks

  • replace values with to_numpy()

References

[1] https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.values.html


cc @jdsalaro

Edited by Jayson Salazar Rodriguez