Skip to content

Commit 9936902

Browse files
DOC: remove versionadded/changed:: 0.24 (#41851)
1 parent 5abb02e commit 9936902

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+9
-305
lines changed

doc/source/development/extending.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ extension array for IP Address data, this might be ``ipaddress.IPv4Address``.
106106

107107
See the `extension dtype source`_ for interface definition.
108108

109-
.. versionadded:: 0.24.0
110-
111109
:class:`pandas.api.extension.ExtensionDtype` can be registered to pandas to allow creation via a string dtype name.
112110
This allows one to instantiate ``Series`` and ``.astype()`` with a registered string name, for
113111
example ``'category'`` is a registered string accessor for the ``CategoricalDtype``.
@@ -141,8 +139,6 @@ and comments contain guidance for properly implementing the interface.
141139
:class:`~pandas.api.extensions.ExtensionArray` operator support
142140
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
143141

144-
.. versionadded:: 0.24.0
145-
146142
By default, there are no operators defined for the class :class:`~pandas.api.extensions.ExtensionArray`.
147143
There are two approaches for providing operator support for your ExtensionArray:
148144

doc/source/user_guide/advanced.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ analysis.
4040

4141
See the :ref:`cookbook<cookbook.multi_index>` for some advanced strategies.
4242

43-
.. versionchanged:: 0.24.0
44-
45-
:attr:`MultiIndex.labels` has been renamed to :attr:`MultiIndex.codes`
46-
and :attr:`MultiIndex.set_labels` to :attr:`MultiIndex.set_codes`.
47-
4843
Creating a MultiIndex (hierarchical index) object
4944
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5045

@@ -87,8 +82,6 @@ You can also construct a ``MultiIndex`` from a ``DataFrame`` directly, using
8782
the method :meth:`MultiIndex.from_frame`. This is a complementary method to
8883
:meth:`MultiIndex.to_frame`.
8984

90-
.. versionadded:: 0.24.0
91-
9285
.. ipython:: python
9386
9487
df = pd.DataFrame(

doc/source/user_guide/basics.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,8 +1490,6 @@ for altering the ``Series.name`` attribute.
14901490
14911491
.. _basics.rename_axis:
14921492

1493-
.. versionadded:: 0.24.0
1494-
14951493
The methods :meth:`DataFrame.rename_axis` and :meth:`Series.rename_axis`
14961494
allow specific names of a ``MultiIndex`` to be changed (as opposed to the
14971495
labels).

doc/source/user_guide/computation.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ Like ``cov``, ``corr`` also supports the optional ``min_periods`` keyword:
141141
frame.corr(min_periods=12)
142142
143143
144-
.. versionadded:: 0.24.0
145-
146144
The ``method`` argument can also be a callable for a generic correlation
147145
calculation. In this case, it should be a single function
148146
that produces a single value from two ndarray inputs. Suppose we wanted to

doc/source/user_guide/groupby.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ We could naturally group by either the ``A`` or ``B`` columns, or both:
125125
grouped = df.groupby("A")
126126
grouped = df.groupby(["A", "B"])
127127
128-
.. versionadded:: 0.24
129-
130128
If we also have a MultiIndex on columns ``A`` and ``B``, we can group by all
131129
but the specified columns
132130

doc/source/user_guide/integer_na.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
Nullable integer data type
99
**************************
1010

11-
.. versionadded:: 0.24.0
12-
1311
.. note::
1412

1513
IntegerArray is currently experimental. Its API or implementation may

doc/source/user_guide/io.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ compression : {``'infer'``, ``'gzip'``, ``'bz2'``, ``'zip'``, ``'xz'``, ``None``
297297
create a reproducible gzip archive:
298298
``compression={'method': 'gzip', 'compresslevel': 1, 'mtime': 1}``.
299299

300-
.. versionchanged:: 0.24.0 'infer' option added and set to default.
301300
.. versionchanged:: 1.1.0 dict option extended to support ``gzip`` and ``bz2``.
302301
.. versionchanged:: 1.2.0 Previous versions forwarded dict entries for 'gzip' to ``gzip.open``.
303302
thousands : str, default ``None``
@@ -2714,8 +2713,6 @@ table CSS classes. Note that these classes are *appended* to the existing
27142713
The ``render_links`` argument provides the ability to add hyperlinks to cells
27152714
that contain URLs.
27162715

2717-
.. versionadded:: 0.24
2718-
27192716
.. ipython:: python
27202717
27212718
url_df = pd.DataFrame(
@@ -3590,8 +3587,6 @@ indices to be parsed.
35903587
35913588
Element order is ignored, so ``usecols=[0, 1]`` is the same as ``[1, 0]``.
35923589

3593-
.. versionadded:: 0.24
3594-
35953590
If ``usecols`` is a list of strings, it is assumed that each string corresponds
35963591
to a column name provided either by the user in ``names`` or inferred from the
35973592
document header row(s). Those strings define which columns will be parsed:
@@ -3602,8 +3597,6 @@ document header row(s). Those strings define which columns will be parsed:
36023597
36033598
Element order is ignored, so ``usecols=['baz', 'joe']`` is the same as ``['joe', 'baz']``.
36043599

3605-
.. versionadded:: 0.24
3606-
36073600
If ``usecols`` is callable, the callable function will be evaluated against
36083601
the column names, returning names where the callable function evaluates to ``True``.
36093602

@@ -4260,9 +4253,6 @@ everything in the sub-store and **below**, so be *careful*.
42604253
You can walk through the group hierarchy using the ``walk`` method which
42614254
will yield a tuple for each group key along with the relative keys of its contents.
42624255

4263-
.. versionadded:: 0.24.0
4264-
4265-
42664256
.. ipython:: python
42674257
42684258
for (path, subgroups, subkeys) in store.walk():
@@ -5439,8 +5429,6 @@ underlying engine's default behavior.
54395429
Partitioning Parquet files
54405430
''''''''''''''''''''''''''
54415431

5442-
.. versionadded:: 0.24.0
5443-
54445432
Parquet supports partitioning of data based on the values of one or more columns.
54455433

54465434
.. ipython:: python
@@ -5668,8 +5656,6 @@ will convert the data to UTC.
56685656
Insertion method
56695657
++++++++++++++++
56705658

5671-
.. versionadded:: 0.24.0
5672-
56735659
The parameter ``method`` controls the SQL insertion clause used.
56745660
Possible values are:
56755661

doc/source/user_guide/sparse.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ in many places
114114
Sparse accessor
115115
---------------
116116

117-
.. versionadded:: 0.24.0
118-
119117
pandas provides a ``.sparse`` accessor, similar to ``.str`` for string data, ``.cat``
120118
for categorical data, and ``.dt`` for datetime-like data. This namespace provides
121119
attributes and methods that are specific to sparse data.

pandas/_libs/interval.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ cdef class Interval(IntervalMixin):
449449
endpoints. Intervals that only have an open endpoint in common do not
450450
overlap.
451451
452-
.. versionadded:: 0.24.0
453-
454452
Parameters
455453
----------
456454
other : Interval

pandas/_libs/lib.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,8 +1063,6 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
10631063
allow_sets : bool, default True
10641064
If this parameter is False, sets will not be considered list-like.
10651065

1066-
.. versionadded:: 0.24.0
1067-
10681066
Returns
10691067
-------
10701068
bool

0 commit comments

Comments
 (0)