You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting string[pyarrow] from experimental to production ready #8842
discussionDiscussing a topic with no specific actions yetneeds attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.
Pandas 1.3 includes an experimental string[pyarrow] dtype that's much more memory efficient than object columns.
Rocklin made a video on this new dtype which shows how the string[pyarrow] type greatly reduced memory usage and query times. He shows a better than 2x query speed improvement in his little notebook example with string[pyarrow]. I ran some experimentation on my end and found that the string[pyarrow] type reduced the memory usage of an object column by 6.7x.
These are huge improvements and the progress is really exciting.
The purpose of this issue is to brainstorm the additional work that needs to be performed to get string[pyarrow] out of "experimental" and make it generally available. @mrocklin - can you share your thoughts on the challenges and the next steps?
So, my experience with pyarrow string types was both amazing and terrible.
The Good
The memory impact is huge
Performance can be nicer
The GIL is dropped
It's nicely typed
The memory impact is huge
The bad
Lots of operations don't work (or didn't)
Slices of data, when pickled, carry along the entire dataset. This makes memory and communication performance terrible.
What to do
We should try things out and raise JIRA tickets upstream. The Arrow folks are pretty productive these days. We probably need to do some work and point them in the right direction.
discussionDiscussing a topic with no specific actions yetneeds attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.
Activity
mrocklin commentedon Mar 24, 2022
So, my experience with pyarrow string types was both amazing and terrible.
The Good
The bad
What to do
We should try things out and raise JIRA tickets upstream. The Arrow folks are pretty productive these days. We probably need to do some work and point them in the right direction.
cc @cpcloud
mrocklin commentedon Jun 7, 2022
@jcrist can you give a summary of where we are on this and what a set of good next steps would be?