You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/01/27 10:43:00 UTC

[jira] [Created] (ARROW-15475) [C++][Python] Add a space after commas in pretty-print output

Antoine Pitrou created ARROW-15475:
--------------------------------------

             Summary: [C++][Python] Add a space after commas in pretty-print output
                 Key: ARROW-15475
                 URL: https://issues.apache.org/jira/browse/ARROW-15475
             Project: Apache Arrow
          Issue Type: Wish
          Components: C++, Python
            Reporter: Antoine Pitrou


Following ARROW-14798 we can have this kind of pretty-print output:

{code}
struct: [
  -- is_valid: all not null
  -- child 0 type: int64
  [0,1,2,3,4,...,45,46,47,48,49]
  -- child 1 type: list<item: string>
  [["crown","trunk","roots"],["roots","seeds"],...,[],["crown"]],
...,
{code}

IMHO it would read better as:

{code}
struct: [
  -- is_valid: all not null
  -- child 0 type: int64
  [0, 1, 2, 3, 4, ..., 45, 46, 47, 48, 49]
  -- child 1 type: list<item: string>
  [["crown", "trunk", "roots"], ["roots", "seeds"], ..., [], ["crown"]],
...,
{code}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)