pitrou commented on code in PR #12657:
URL: https://github.com/apache/arrow/pull/12657#discussion_r885557553
##########
python/pyarrow/_compute.pyx:
##########
@@ -905,10 +907,41 @@ class RoundTemporalOptions(_RoundTemporalOptions):
"nanosecond".
week_starts_monday : bool, default True
If True, weeks start on Monday; if False, on Sunday.
- """
-
- def __init__(self, multiple=1, unit="day", week_starts_monday=True):
- self._set_options(multiple, unit, week_starts_monday)
+ ceil_is_strictly_greater : bool, default False
+ If True return a rounded value that is strictly greater than the
+ input. For example: ceiling 1970-01-01T00:00:00 to 3 hours would
+ yield 1970-01-01T03:00:00 if set to True and 1970-01-01T00:00:00
+ if set to False.
+ This applies for ceiling only.
Review Comment:
```suggestion
This applies to the ceil_temporal function only.
```
--
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]