jorisvandenbossche commented on pull request #12091: URL: https://github.com/apache/arrow/pull/12091#issuecomment-1008730856
I understand that `PrettyPrintOptions` is generic, but so that also means that the interpretation of "child" depends on what you are printing. For example, for printing a ChunkedArray, you could then use `window` to determine how many values from start and end to print, and `child_window` to limit the number of values to show for nested data (lists, structs). While if you are printing a table, the `window` determines how many chunked arrays to show at start and end, and `child_window` is used for both how many values from start and end to show for each chunked array, as for the number of elements to show for a nested data type. That doesn't give a great control, I think, but I suppose there is not much to do about that with the current generic interface. (and the current PR is certainly already an improvement for the table repr!) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
