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

[Python] Conversion from Numpy float16 array unimplemented

    XMLWordPrintableJSON

Details

    Description

      >>> arr = np.array([1.5], dtype=np.float16)
      >>> pa.array(arr, type=pa.float16())
      Traceback (most recent call last):
        File "<ipython-input-6-e432e6663efb>", line 1, in <module>
          pa.array(arr)
        File "array.pxi", line 177, in pyarrow.lib.array
        File "array.pxi", line 84, in pyarrow.lib._ndarray_to_array
        File "public-api.pxi", line 158, in pyarrow.lib.pyarrow_wrap_array
      KeyError: 10
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: