3 ms·
How well does it work with sklearn/scipy/pytorch?
by daemonk 3y ago
How well does it work with sklearn/scipy/pytorch?
- ayhanfuat 3y agosklearn is adding support through the dataframe interchange protocol (https://github.com/scikit-learn/scikit-learn/issues/25896 https://github.com/scikit-learn/scikit-learn/issues/25896). scipy, as far as I know, doesn't explicitly support dataframes (it just happens to work when you wrap a Series in `np.array` or `np.asarray`). I don't know about PyTorch but in general you can convert to numpy.