You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2025/01/17 15:43:39 UTC

Re: [I] [Python] to_pandas() fails when pandas option 'future.infer_string' is True [arrow]

raulcd commented on issue #45296:
URL: https://github.com/apache/arrow/issues/45296#issuecomment-2598642144

   This is related to:
   - https://github.com/apache/arrow/issues/43683
   
   It seems the `na_value` was [merged on pandas main](https://github.com/pandas-dev/pandas/commit/f25a09eacee843f643604a7406a5bb6bcc4361e5) but is not available on pandas 2.2 (where `future.infer_string` was added)
   
   @jorisvandenbossche @WillAyd  do we have to check this is specifically for Pandas 3 or should we specialize the call based on pandas 2 vs 3?
   
   https://github.com/apache/arrow/blob/5181c24f6d780591426e0af0d1b72c68f190484c/python/pyarrow/pandas_compat.py#L917-L925


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org