Settings

Theme

Python Pandas Ditches NumPy for Speedier PyArrow

thenewstack.io

18 points by blacktulip 10 months ago · 5 comments

Reader

joshlk 10 months ago

> [numpy] stores everything in rows

This isn't true. Pandas uses Numpy to store columns of data. Theres quite a few technical errors in the article.

constantcrying 10 months ago

This is an insane article, I do not think the author has any idea what is going on.

The comparison of numpy reading CSV to arrow reading parquet is completely bizarre and totally misses the point of switching out the underlying data format.

  • kbrkbr 10 months ago

    Or maybe you did not read it properly?

    > Reading in that CSV file into memory would take Python 55.8 seconds, but PyArrow did the work in 11.8 seconds.

    It's later clarified that Pyarrow does load csv here, though the numbers don't fully add up. Also the format change is explained.

agons 10 months ago

It gets worse the further you go, this was where I had to bail:

> the format is much favored by AI frameworks such as TensorFlow and PyCharm.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection