Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1469

Segfault when serialize Pandas series with mixed object type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: Python
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              cpcloud Phillip Cloud
              Reporter:
              raptium GUAN Hao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: