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

[Python] Limit the size of the repr for large Tables

    XMLWordPrintableJSON

Details

    Description

      The new repr is nice that it shows a preview of the data, but this can also become very long flooding your console output for larger tables.

      We already default to 10 preview cols, but each column can still consist of many chunks. So it might be good to also limit it to 2 chunks?

      The ChunkedArray.to_string method already has a window keyword, but that seems to control both the number of elements to show per chunk as the number of chunks (while it would be nice to limit eg to 2 chunks but show up to 10 elements for each chunk).

      cc amol-

      Attachments

        Issue Links

          Activity

            People

              willjones127 Will Jones
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h