Hacker News new | ask | show | jobs
by anywhichway 1084 days ago
Right, each pandas column is a numpy array (or optionally pyarrow in pandas 2.0), but numpy is going to be faster for things that needs to be vectorized across columns, such as matrix operations.
1 comments

Thats when you do polars.DataFrame.to_numpy()