edponce edited a comment on pull request #11232:
URL: https://github.com/apache/arrow/pull/11232#issuecomment-930574971


   Interesting...the failed tests are because `stringr` behavior for 
`str_to_title()` is different from Python's `title()` when string begins with 
an integer. The C++ implementation follows Python's behavior.
   ```c++
   # R stringr
   > str_to_title("1Foo1")  # "1foo1"
   # Python
   >>> "1Foo1".title()  # "1Foo1"
   ```
   I conclude that this also applies for "is_title()" function because it 
ignores beginning integers...well...`stringr` does not has an `is_title()` 
function.
   
   What to do in such a case? cc @jonkeane @nealrichardson 


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