| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.strftime.html | [Back] [Original] |
Section Navigation
Format temporal values according to a format string.
For each input value, emit a formatted string. The time format string and locale can be set using StrftimeOptions. The output precision of the %S (seconds) format code depends on the input time precision: it is an integer for timestamps with second precision, a real number with the required number of fractional digits for higher precisions. Null values emit null. An error is returned if the values have a defined timezone but it cannot be found in the timezone database, or if the specified locale does not exist on this system.
Argument to compute function.
str, default %Y-%m-%dT%H:%M:%SPattern for formatting input values.
str, default CLocale to use for locale-specific format specifiers.
pyarrow.compute.StrftimeOptions, 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 |