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] [Created] (BEAM-12246) ib.collect doesn't preserve the index from DeferredDataFrame instances

Brian Hulette created BEAM-12246:
------------------------------------

             Summary: 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


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)