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

[Python][Docs] PyArrow table join docstring typos for left and right suffix arguments

    XMLWordPrintableJSON

Details

    Description

      Hello, thank you for all the amazing work on Arrow! I'd like to report a potential issue with PyArrow's Table Join docstring which may make it confusing for others to read. This content is I believe translated into the documentation website as well.

      The content which needs to be corrected may be found starting at: https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L4737

      The block currently reads:

      left_suffix : str, default None
      Which suffix to add to right column names. This prevents confusion
      when the columns in left and right tables have colliding names.
      right_suffix : str, default None
      Which suffic to add to the left column names. This prevents confusion
      when the columns in left and right tables have colliding names.

      It could be improved with the following:

      left_suffix : str, default None
      Which suffix to add to left column names. This prevents confusion
      when the columns in left and right tables have colliding names.
      right_suffix : str, default None
      Which suffix to add to the right column names. This prevents confusion
      when the columns in left and right tables have colliding names.

      Please let me know if I may clarify or if there are any questions on the above. Thanks again for your help!

       

      Attachments

        Issue Links

          Activity

            People

              wjones127 Will Jones
              wjones127 Will Jones
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m