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

[Python] Array initialization with leading numpy nan fails with exception

    Details

      Description

       

      Arrow initialization fails for string arrays with leading numpy NAN

      import pyarrow as pa
      import numpy as np
      
      pa.array([np.nan, 'str'])
      # Py3: ArrowException: Unknown error: must be real number, not str
      # Py2: ArrowException: Unknown error: a float is required

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cpcloud Phillip Cloud
                Reporter:
                fjetter Florian Jetter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: