| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.weeks_between.html | [Back] [Original] |
Section Navigation
Compute the number of weeks between two timestamps.
Returns the number of week boundaries crossed from start to end. That is, the difference is calculated as if the timestamps were truncated to the week. Null values emit null.
Argument to compute function.
Argument to compute function.
TrueIf True, number days from 0, otherwise from 1.
int, default 1Which day does the week start with (Monday=1, Sunday=7). How this value is numbered is unaffected by count_from_zero.
pyarrow.compute.DayOfWeekOptions, 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 |