Skip to content

Commit 1fb6f0a

Browse files
committed
DO not use datetime.now() in examples
1 parent 9bd80b8 commit 1fb6f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/python/getstarted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ and will lazily load chunks of data only when iterating over them
152152
.. code-block:: python
153153
154154
>>> import datetime
155-
>>> current_year = datetime.datetime.now(datetime.UTC).year
155+
>>> current_year = 2025
156156
>>> for table_chunk in birthdays_dataset.to_batches():
157157
... print("AGES", pc.subtract(current_year, table_chunk["years"]))
158158
AGES [

0 commit comments

Comments
 (0)