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

[Python] __eq__ unimplemented on Buffer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: Python

      Description

      Having to call equals() is un-Pythonic:

      >>> pa.frombuffer(b'foo') == pa.frombuffer(b'foo')
      False
      >>> pa.frombuffer(b'foo').equals(pa.frombuffer(b'foo'))
      True
      

      Same for many other pyarrow types, incidently.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pitrou Antoine Pitrou
                Reporter:
                pitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: