[
https://issues.apache.org/jira/browse/BEAM-12246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351310#comment-17351310
]
Brian Hulette commented on BEAM-12246:
--------------------------------------
[~rohdesam] we can close this right?
> ib.collect doesn't preserve the index from DeferredDataFrame instances
> ----------------------------------------------------------------------
>
> Key: BEAM-12246
> URL: https://issues.apache.org/jira/browse/BEAM-12246
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: 2.29.0
> Reporter: Brian Hulette
> Assignee: Sam Rohde
> Priority: P2
> Labels: dataframe-api
> Time Spent: 8h
> Remaining Estimate: 0h
>
> This happens because it use {{to_pcollection(yield='schemas',
> include_indexes=False)}} (the default values for those arguments). To fix
> this we should avoid converting to beam schemas and collect the raw
> dataframes with {{to_pcollectiion(yield='pandas')}}.
> See https://github.com/apache/beam/pull/14356#discussion_r620647659
--
This message was sent by Atlassian Jira
(v8.3.4#803005)