Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
I think we can improve interactive use of PyArrow by making the repr of some basic types (Buffer, MemoryPool...) more informative.
See this session for example:
>>> pool = pa.default_memory_pool() >>> pool <pyarrow.lib.MemoryPool at 0x7fea126982a0> >>> pool.backend_name 'jemalloc' >>> buf = pa.allocate_buffer(1024, memory_pool=pool) >>> buf <pyarrow.lib.Buffer at 0x7fea5e51e7b0> >>> buf.is_cpu True >>> buf.is_mutable True >>> buf.size 1024
Attachments
Issue Links
- links to