Python Pandas Ditches NumPy for Speedier PyArrow

thenewstack.io

18 points

blacktulip

2 days ago


5 comments

joshlk 2 days 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.

agons 2 days 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.

constantcrying 2 days 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 2 days 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.