-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice to get rich output of table/buffers and others using the pycapsule protocol, something like:
import pyarrow as pa
import datanomy
table = pa.table({'x': [1, 2, 3], 'y': ['a', 'b', 'c']})
# Rich output
datanomy.inspect(table)with
Output:
╭─────────────────────────────────────╮
│ Arrow Table │
│ Rows: 3 │ Columns: 2 │ Size: 48 B │
├─────────────────────────────────────┤
│ Schema: │
│ x: int64 │
│ y: string │
├─────────────────────────────────────┤
│ Data Preview: │
│ x │ y │
│ 1 │ a │
│ 2 │ b │
│ 3 │ c │
╰─────────────────────────────────────╯
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request