Skip to content

Commit 9828d34

Browse files
simonjayhawkinsjorisvandenbossche
authored andcommitted
CLN: remove versionadded:: 0.19.0 and earlier (#29127)
1 parent 03c1a3d commit 9828d34

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

pandas/_libs/tslibs/timestamps.pyx

-3
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,10 @@ class Timestamp(_Timestamp):
194194
valid values are 'D', 'h', 'm', 's', 'ms', 'us', and 'ns'. For
195195
example, 's' means seconds and 'ms' means milliseconds.
196196
year, month, day : int
197-
.. versionadded:: 0.19.0
198197
hour, minute, second, microsecond : int, optional, default 0
199-
.. versionadded:: 0.19.0
200198
nanosecond : int, optional, default 0
201199
.. versionadded:: 0.23.0
202200
tzinfo : datetime.tzinfo, optional, default None
203-
.. versionadded:: 0.19.0
204201
205202
Notes
206203
-----

pandas/core/frame.py

-2
Original file line numberDiff line numberDiff line change
@@ -6446,8 +6446,6 @@ def diff(self, periods=1, axis=0):
64466446
axis : {0 or 'index', 1 or 'columns'}, default 0
64476447
Take difference over rows (0) or columns (1).
64486448
6449-
.. versionadded:: 0.16.1.
6450-
64516449
Returns
64526450
-------
64536451
DataFrame

pandas/core/tools/datetimes.py

-3
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,6 @@ def to_datetime(
601601
602602
Warning: yearfirst=True is not strict, but will prefer to parse
603603
with year first (this is a known bug, based on dateutil behavior).
604-
605-
.. versionadded:: 0.16.1
606-
607604
utc : bool, default None
608605
Return UTC DatetimeIndex if True (converting any tz-aware
609606
datetime.datetime objects as well).

pandas/tseries/offsets.py

-2
Original file line numberDiff line numberDiff line change
@@ -980,8 +980,6 @@ def _repr_attrs(self):
980980
class BusinessHour(BusinessHourMixin, SingleConstructorOffset):
981981
"""
982982
DateOffset subclass representing possibly n business hours.
983-
984-
.. versionadded:: 0.16.1
985983
"""
986984

987985
_prefix = "BH"

0 commit comments

Comments
 (0)