[
https://issues.apache.org/jira/browse/ARROW-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658626#comment-17658626
]
Rok Mihevc commented on ARROW-1593:
-----------------------------------
This issue has been migrated to [issue
#17606|https://github.com/apache/arrow/issues/17606] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [PYTHON] serialize_pandas should pass through the preserve_index keyword
> ------------------------------------------------------------------------
>
> Key: ARROW-1593
> URL: https://issues.apache.org/jira/browse/ARROW-1593
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.7.0
> Reporter: Tom Augspurger
> Assignee: Wes McKinney
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> I'm doing some benchmarking of Arrow serialization for dask.distributed to
> serialize dataframes.
> Overall things look good compared to the current implementation (using
> pickle). The biggest difference was pickle's ability to use pandas'
> RangeIndex to avoid serializing the entire Index of values when possible.
> I suspect that a "range type" isn't in scope for arrow, but in the meantime
> applications using Arrow could detect the `RangeIndex`, and pass {{
> pyarrow.serialize_pandas(df, preserve_index=False) }}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)