Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3720a77

Browse files
committed
DOC: tweak the wording.
[skip actions] [skip cirrus] [skip azp]
1 parent 9b63788 commit 3720a77

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/source/reference/arrays.datetime.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ to automatically select the unit from the inputs, by using the
119119
datetime type with generic units.
120120

121121
.. deprecated:: 2.5
122-
The generic units of `timedelta64` are deprecated since NumPy 2.5 and
123-
will raise an error in the future. With this changes, `datetime64`'s ``NaT`` is now required to have an explicit time unit for consistency with other datetime and timedelta operations.
122+
The generic units of `timedelta64` were deprecated in NumPy 2.5 and
123+
will raise an error in the future. With this change, ``NaT`` in `datetime64` is now required to have an explicit time unit.
124124

125125

126126
.. admonition:: Example
@@ -354,7 +354,7 @@ The protocol is described in the following table:
354354

355355

356356
.. deprecated:: 2.5
357-
The generic units of `timedelta64` are deprecated since NumPy 2.5 and
357+
The generic units of `timedelta64` are deprecated in NumPy 2.5 and
358358
will raise an error in the future.
359359

360360

0 commit comments

Comments
 (0)