| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.compute.strptime.html | [Back] [Original] |
Section Navigation
Parse timestamps.
For each string in strings, parse it as a timestamp. The timestamp unit and the expected string pattern must be given in StrptimeOptions. Null inputs emit null. If a non-null string fails parsing, an error is returned by default.
Argument to compute function.
strPattern for parsing input strings as timestamps, such as %Y/%m/%d. Note that the semantics of the format follow the C/C++ strptime, not the Python one. There are differences in behavior, for example how the %y placeholder handles years with less than four digits.
strTimestamp unit of the output. Accepted values are s, ms, us, ns.
FalseReturn null on parsing errors if true or raise if false.
pyarrow.compute.StrptimeOptions, 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 |