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

[Python] Array.to_string exposes confusing "indent" parameter

    XMLWordPrintableJSON

Details

    Description

      Despite the description, the "indent" parameter of Array.to_string indents the entire string, not the items as one might expect by analogy to (for instance) json.dump(s). It should pass this parameter to PrettyPrintOptions.indent_size, not indent.

      Attachments

        Issue Links

          Activity

            People

              marlenezw Marlene
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 - 1h 20m
                  1h 20m