rok commented on a change in pull request #11026:
URL: https://github.com/apache/arrow/pull/11026#discussion_r714600793



##########
File path: python/pyarrow/_compute.pyx
##########
@@ -1091,6 +1091,22 @@ class AssumeTimezoneOptions(_AssumeTimezoneOptions):
         self._set_options(timezone, ambiguous, nonexistent)
 
 
+cdef class _WeekOptions(FunctionOptions):
+    def _set_options(self, week_starts_monday, count_from_zero,
+                     first_week_is_fully_in_year):
+        self.wrapped.reset(
+            new CWeekOptions(week_starts_monday, count_from_zero,
+                             first_week_is_fully_in_year)
+        )
+
+
+class WeekOptions(_WeekOptions):
+    def __init__(self, week_starts_monday=True, count_from_zero=False,

Review comment:
       Done.




-- 
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]


Reply via email to