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

[Python] __eq__ unimplemented on Buffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: