Skip to content

Commit be170fc

Browse files
authored
DOC: Remove notes to old Python/package versions (#52640)
1 parent 70a31e7 commit be170fc

File tree

22 files changed

+24
-93
lines changed

22 files changed

+24
-93
lines changed

doc/source/development/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ Below is an example to define two original properties, "internal_cache" as a tem
450450
Plotting backends
451451
-----------------
452452

453-
Starting in 0.25 pandas can be extended with third-party plotting backends. The
453+
pandas can be extended with third-party plotting backends. The
454454
main idea is letting users select a plotting backend different than the provided
455455
one based on Matplotlib. For example:
456456

doc/source/getting_started/install.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ to install pandas with the optional dependencies to read Excel files.
149149

150150
The full list of extras that can be installed can be found in the :ref:`dependency section.<install.optional_dependencies>`
151151

152-
Installing with ActivePython
153-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154-
155-
Installation instructions for
156-
`ActivePython <https://www.activestate.com/products/python/>`__ can be found
157-
`here <https://www.activestate.com/products/python/>`__. Versions
158-
2.7, 3.5 and 3.6 include pandas.
159-
160152
Installing using your Linux distribution's package manager.
161153
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162154

doc/source/user_guide/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ If you select a label *contained* within an interval, this will also select the
918918
df.loc[2.5]
919919
df.loc[[2.5, 3.5]]
920920
921-
Selecting using an ``Interval`` will only return exact matches (starting from pandas 0.25.0).
921+
Selecting using an ``Interval`` will only return exact matches.
922922

923923
.. ipython:: python
924924

doc/source/user_guide/io.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3999,7 +3999,7 @@ any pickled pandas object (or any other pickled object) from file:
39993999

40004000
.. warning::
40014001

4002-
:func:`read_pickle` is only guaranteed backwards compatible back to pandas version 0.20.3
4002+
:func:`read_pickle` is only guaranteed backwards compatible back to a few minor release.
40034003

40044004
.. _io.pickle.compression:
40054005

@@ -5922,11 +5922,6 @@ And then issue the following queries:
59225922
Google BigQuery
59235923
---------------
59245924

5925-
.. warning::
5926-
5927-
Starting in 0.20.0, pandas has split off Google BigQuery support into the
5928-
separate package ``pandas-gbq``. You can ``pip install pandas-gbq`` to get it.
5929-
59305925
The ``pandas-gbq`` package provides functionality to read/write from Google BigQuery.
59315926

59325927
pandas integrates with this external package. if ``pandas-gbq`` is installed, you can
@@ -6114,7 +6109,7 @@ SAS formats
61146109
-----------
61156110

61166111
The top-level function :func:`read_sas` can read (but not write) SAS
6117-
XPORT (.xpt) and (since *v0.18.0*) SAS7BDAT (.sas7bdat) format files.
6112+
XPORT (.xpt) and SAS7BDAT (.sas7bdat) format files.
61186113

61196114
SAS files only contain two value types: ASCII text and floating point
61206115
values (usually 8 bytes but sometimes truncated). For xport files,

doc/source/user_guide/merging.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,6 @@ all standard database join operations between ``DataFrame`` or named ``Series``
510510
dataset.
511511
* "many_to_many" or "m:m": allowed, but does not result in checks.
512512

513-
.. note::
514-
515-
Support for specifying index levels as the ``on``, ``left_on``, and
516-
``right_on`` parameters was added in version 0.23.0.
517-
Support for merging named ``Series`` objects was added in version 0.24.0.
518-
519513
The return type will be the same as ``left``. If ``left`` is a ``DataFrame`` or named ``Series``
520514
and ``right`` is a subclass of ``DataFrame``, the return type will still be ``DataFrame``.
521515

doc/source/user_guide/missing_data.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ account for missing data. For example:
182182
Sum/prod of empties/nans
183183
~~~~~~~~~~~~~~~~~~~~~~~~
184184

185-
.. warning::
186-
187-
This behavior is now standard as of v0.22.0 and is consistent with the default in ``numpy``; previously sum/prod of all-NA or empty Series/DataFrames would return NaN.
188-
See :ref:`v0.22.0 whatsnew <whatsnew_0220>` for more.
189-
190185
The sum of an empty or all-NA Series or column of a DataFrame is 0.
191186

192187
.. ipython:: python

doc/source/user_guide/text.rst

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ and replacing any remaining whitespaces with underscores:
206206

207207
.. warning::
208208

209-
Before v.0.25.0, the ``.str``-accessor did only the most rudimentary type checks. Starting with
210-
v.0.25.0, the type of the Series is inferred and the allowed types (i.e. strings) are enforced more rigorously.
209+
The type of the Series is inferred and the allowed types (i.e. strings).
211210

212211
Generally speaking, the ``.str`` accessor is intended to work only on strings. With very few
213212
exceptions, other uses are not supported, and may be disabled at a later point.
@@ -423,11 +422,6 @@ the ``join``-keyword.
423422
s.str.cat(u)
424423
s.str.cat(u, join="left")
425424
426-
.. warning::
427-
428-
If the ``join`` keyword is not passed, the method :meth:`~Series.str.cat` will currently fall back to the behavior before version 0.23.0 (i.e. no alignment),
429-
but a ``FutureWarning`` will be raised if any of the involved indexes differ, since this default will change to ``join='left'`` in a future version.
430-
431425
The usual options are available for ``join`` (one of ``'left', 'outer', 'inner', 'right'``).
432426
In particular, alignment also means that the different lengths do not need to coincide anymore.
433427

@@ -503,15 +497,6 @@ Extracting substrings
503497
Extract first match in each subject (extract)
504498
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
505499

506-
.. warning::
507-
508-
Before version 0.23, argument ``expand`` of the ``extract`` method defaulted to
509-
``False``. When ``expand=False``, ``expand`` returns a ``Series``, ``Index``, or
510-
``DataFrame``, depending on the subject and regular expression
511-
pattern. When ``expand=True``, it always returns a ``DataFrame``,
512-
which is more consistent and less confusing from the perspective of a user.
513-
``expand=True`` has been the default since version 0.23.0.
514-
515500
The ``extract`` method accepts a `regular expression
516501
<https://docs.python.org/3/library/re.html>`__ with at least one
517502
capture group.

doc/source/user_guide/visualization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ when plotting a large number of points.
17941794
Plotting backends
17951795
-----------------
17961796

1797-
Starting in version 0.25, pandas can be extended with third-party plotting backends. The
1797+
pandas can be extended with third-party plotting backends. The
17981798
main idea is letting users select a plotting backend different than the provided
17991799
one based on Matplotlib.
18001800

pandas/core/arrays/interval.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@
124124
] = """
125125
%(summary)s
126126
127-
.. versionadded:: %(versionadded)s
128-
129127
Parameters
130128
----------
131129
data : array-like (1-dimensional)
@@ -187,7 +185,6 @@
187185
% {
188186
"klass": "IntervalArray",
189187
"summary": "Pandas array for interval data that are closed on the same side.",
190-
"versionadded": "0.24.0",
191188
"name": "",
192189
"extra_attributes": "",
193190
"extra_methods": "",

pandas/core/config_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def use_numba_cb(key) -> None:
275275
pc_large_repr_doc = """
276276
: 'truncate'/'info'
277277
For DataFrames exceeding max_rows/max_cols, the repr (and HTML repr) can
278-
show a truncated table (the default from 0.13), or switch to the view from
278+
show a truncated table, or switch to the view from
279279
df.info() (the behaviour in earlier versions of pandas).
280280
"""
281281

0 commit comments

Comments
 (0)