[ 
https://issues.apache.org/jira/browse/ARROW-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658502#comment-17658502
 ] 

Rok Mihevc commented on ARROW-1469:
-----------------------------------

This issue has been migrated to [issue 
#17489|https://github.com/apache/arrow/issues/17489] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> Segfault when serialize Pandas series with mixed object type
> ------------------------------------------------------------
>
>                 Key: ARROW-1469
>                 URL: https://issues.apache.org/jira/browse/ARROW-1469
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.6.0
>            Reporter: GUAN Hao
>            Assignee: Phillip Cloud
>            Priority: Major
>             Fix For: 0.7.0
>
>
> The following code causes segfault
> {code}
> import pandas as pd
> import pyarrow as pa
> s = pd.Series([1, '-'])
> pa.Array.from_pandas(s)
> {code}
> Arrow vector cannot hold mixed types, and raising an exception here instead 
> of segfault is much better IMHO.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to