You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/02/10 20:29:42 UTC
[GitHub] [arrow] westonpace commented on pull request #34128: GH-34104: [Python] update deduplicate_objects default in docs to match implementation
westonpace commented on PR #34128:
URL: https://github.com/apache/arrow/pull/34128#issuecomment-1426308204
I confirmed that the default behavior does indeed deduplicate:
```
>>> x = pa.array(['one', 'one'])
>>> y = x.to_pandas()
>>> id(y[0]) == id(y[1])
True
>>> z = x.to_pandas(deduplicate_objects=False)
>>> id(z[0]) == id(z[1])
False
```
--
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