jorisvandenbossche commented on issue #15053:
URL: https://github.com/apache/arrow/issues/15053#issuecomment-2316318765

   The default for the argument (keeping existing behaviour) is `True`, so by 
setting it to False I get:
   
   ```
   In [42]: pc.utf8_center(pa.scalar(b4), 5, padding="X", 
lean_left_on_odd_padding=False)
   Out[42]: <pyarrow.StringScalar: 'Xbbbb'>
   ```
   
   It's certainly not a very clear argument name .. (it's the original data 
that "leans left", and not the new padding characters), but when setting it to 
False, do the pandas tests then pass?
   


-- 
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]

Reply via email to