logoalt Hacker News

jgalt212today at 3:39 AM1 replyview on HN

I'd drop pandas if polars worked eamlessly with sklearn.


Replies

minimaxirtoday at 4:28 AM

You can do to_pandas() and from_pandas() which doesn't have much overhead, or to_numpy() directly which is typically zero-copy and thus no overhead: https://docs.pola.rs/api/python/stable/reference/dataframe/a...