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

[Python] Convert big-endian numbers or raise error in pyarrow.array

    XMLWordPrintableJSON

Details

    Description

      I've been playing around getting vaex to support arrow, and it's been going really well, except for some corner cases.

      I expect

       

      import numpy as np
      import pyarrow as pa
      np_array = np.arange(10, dtype='>f8')
      pa.array(np_array)
      
      

      To give an error, or show proper values, instead I get:

       

      Attachments

        1. Screen Shot 2018-11-01 at 09.10.48.png
          94 kB
          Maarten Breddels

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              maartenbreddels Maarten Breddels
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m