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

[Python] RecordBatch [i:j] syntax is incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.6.0
    • Python
    • None

    Description

      In [11]: batch[:2]
      ---------------------------------------------------------------------------
      TypeError                                 Traceback (most recent call last)
      <ipython-input-11-318d8cbf9717> in <module>()
      ----> 1 batch[:2]
      
      /home/wesm/code/arrow/python/pyarrow/_table.pyx in pyarrow._table.RecordBatch.__getitem__ (/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/_table.cxx:6629)()
      
      TypeError: an integer is required
      

      Attachments

        Activity

          People

            wesm Wes McKinney
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: