You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/06/03 12:40:01 UTC

[jira] [Updated] (ARROW-1997) [Python] to_pandas with strings_to_categorical fails

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

Antoine Pitrou updated ARROW-1997:
----------------------------------
    Component/s: Python

> [Python] to_pandas with strings_to_categorical fails
> ----------------------------------------------------
>
>                 Key: ARROW-1997
>                 URL: https://issues.apache.org/jira/browse/ARROW-1997
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Licht Takeuchi
>            Assignee: Licht Takeuchi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> Repro code.
> Seems that unexpected deallocation occured.
> {code:java}
> import pandas as pd
> import pyarrow as pa
> df = pd.DataFrame({
> 'Foo': ['A', 'A', 'B', 'B']
> })
> table = pa.Table.from_pandas(df)
> df = table.to_pandas(strings_to_categorical=True)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)