3 ms·
Looks like they're recommending using ".to_numpy()" instead of ".values" in dev (2.*) docs: https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.v
by bsdz 4y ago
Looks like they're recommending using ".to_numpy()" instead of ".values" in dev (2.*) docs:
https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.values.html?highlight=values#pandas.DataFrame.values https://pandas.pydata.org/docs/dev/reference/api/pandas.Data...
- nerdponx 4y ago.values has been deprecated for a long time now, with .to_numpy() as its recommended replacement for just as long.
- eigenvalue 4y agoWow, had no idea about this. Hopefully they can just automatically interpret .values as .to_numpy or else a ton of old code is going to break.
- nerdponx 4y agoThat's what they've been doing for a long time as well!