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

[C++] Adding tabular pretty printing of Table / RecordBatch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      It would be nice to show a "preview" (eg xx number of first and last rows) of a Table or RecordBatch in a traditional tabular form (like pandas DataFrames, or R data.frame / tibbles have, or in a format that resembles markdown tables).

      This could also be added in the bindings, but we could also do it on the C++ level to benefit multiple bindings at once.

      Based on a quick search, there is https://github.com/p-ranav/tabulate which could be vendored (it has a single-include version).

      I suppose that nested data types could represent a challenge on how to include those in a tabular format, though.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: