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:44:00 UTC
[jira] [Commented] (ARROW-15475) [C++][Python] Add a space after commas in pretty-print output
[ https://issues.apache.org/jira/browse/ARROW-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483055#comment-17483055 ]
Antoine Pitrou commented on ARROW-15475:
----------------------------------------
cc [~willjones127]
> [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
> Priority: Trivial
>
> 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)