| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.compute.utf8_center.html | [Back] [Original] |
Section Navigation
Center strings by padding with a given character.
For each string in strings, emit a centered string by padding both sides with the given UTF8 codeunit. Null values emit null.
Argument to compute function.
intDesired string length.
str, default What to pad the string with. Should be one byte or codepoint.
TrueWhat to do if there is an odd number of padding characters (in case of centered padding). Defaults to aligning on the left (i.e. adding the extra padding character on the right).
pyarrow.compute.PadOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |