Closed toddfarmer closed 7 years ago
Note: This issue was originally created as ARROW-1469. Please see the migration documentation for further details.
The following code causes segfault
import pandas as pd import pyarrow as pa s = pd.Series([1, '-']) pa.Array.from_pandas(s)
Arrow vector cannot hold mixed types, and raising an exception here instead of segfault is much better IMHO.
Note: Comment by Wes McKinney (wesm): This is already fixed in ARROW-1411 (see https://github.com/apache/arrow/commit/b36aab5abfa7b398c9b307930a9f1ba4c9dc08c8). Will be in 0.7.0
Note: This issue was originally created as ARROW-1469. Please see the migration documentation for further details.
Original Issue Description:
The following code causes segfault
Arrow vector cannot hold mixed types, and raising an exception here instead of segfault is much better IMHO.