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

[Python] Support __sizeof__ protocol for Python objects

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Python
    • Labels:
      None

      Description

      It would be helpful if PyArrow objects implemented the `_sizeof_` protocol to give other libraries hints about how much data they have allocated. This helps systems like Dask, which have to make judgements about whether or not something is cheap to move or taking up a large amount of space.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mrocklin Matthew Rocklin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: