jorisvandenbossche commented on PR #48969: URL: https://github.com/apache/arrow/pull/48969#issuecomment-3824160575
It is essentially pandas that decides this, although in theory the pyarrow `from_pandas()` functionality could override that (the new string dtype in pandas is actually using pyarrow `large_string` under the hood, so the conversion to pyarrow with `large_string` is zero copy while converting to `string` would involve some conversion). The reason we went for `large_string` instead of `string` in pandas is because with `string` we would easily run into the size limits of it, without having more advanced automatic chunking logic in pandas (for example, at the time there were still issues with `take()` potentially failing with string, I haven't fully followed to know if all those issues have been resolved now) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
