You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/04/28 18:04:00 UTC

[jira] [Updated] (BEAM-12246) ib.collect doesn't preserve the index from DeferredDataFrame instances

     [ https://issues.apache.org/jira/browse/BEAM-12246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Hulette updated BEAM-12246:
---------------------------------
    Status: Open  (was: Triage Needed)

> 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
>            Priority: P2
>              Labels: dataframe-api
>
> 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)