Skip to content

Commit 54f288a

Browse files
jbrockmendelnoatamir
authored andcommitted
DOC: change 1.6.0 doc to 2.0.0 (pandas-dev#49062)
1 parent 2f16fa7 commit 54f288a

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

doc/source/whatsnew/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This is the list of changes to pandas between each release. For full details,
1010
see the `commit logs <https://github.com/pandas-dev/pandas/commits/>`_. For install and
1111
upgrade instructions, see :ref:`install`.
1212

13-
Version 1.6
13+
Version 2.0
1414
-----------
1515

1616
.. toctree::
1717
:maxdepth: 2
1818

19-
v1.6.0
19+
v2.0.0
2020

2121
Version 1.5
2222
-----------

doc/source/whatsnew/v1.6.0.rst renamed to doc/source/whatsnew/v2.0.0.rst

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
.. _whatsnew_160:
1+
.. _whatsnew_200:
22

3-
What's new in 1.6.0 (??)
3+
What's new in 2.0.0 (??)
44
------------------------
55

6-
These are the changes in pandas 1.6.0. See :ref:`release` for a full changelog
6+
These are the changes in pandas 2.0.0. See :ref:`release` for a full changelog
77
including other versions of pandas.
88

99
{{ header }}
1010

1111
.. ---------------------------------------------------------------------------
12-
.. _whatsnew_160.enhancements:
12+
.. _whatsnew_200.enhancements:
1313

1414
Enhancements
1515
~~~~~~~~~~~~
1616

17-
.. _whatsnew_160.enhancements.enhancement1:
17+
.. _whatsnew_200.enhancements.enhancement1:
1818

1919
enhancement1
2020
^^^^^^^^^^^^
2121

22-
.. _whatsnew_160.enhancements.enhancement2:
22+
.. _whatsnew_200.enhancements.enhancement2:
2323

2424
enhancement2
2525
^^^^^^^^^^^^
2626

27-
.. _whatsnew_160.enhancements.other:
27+
.. _whatsnew_200.enhancements.other:
2828

2929
Other enhancements
3030
^^^^^^^^^^^^^^^^^^
@@ -39,14 +39,14 @@ Other enhancements
3939
-
4040

4141
.. ---------------------------------------------------------------------------
42-
.. _whatsnew_160.notable_bug_fixes:
42+
.. _whatsnew_200.notable_bug_fixes:
4343

4444
Notable bug fixes
4545
~~~~~~~~~~~~~~~~~
4646

4747
These are bug fixes that might have notable behavior changes.
4848

49-
.. _whatsnew_160.notable_bug_fixes.notable_bug_fix1:
49+
.. _whatsnew_200.notable_bug_fixes.notable_bug_fix1:
5050

5151
:meth:`.GroupBy.cumsum` and :meth:`.GroupBy.cumprod` overflow instead of lossy casting to float
5252
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -76,18 +76,18 @@ We return incorrect results with the 6th value.
7676
7777
We overflow with the 7th value, but the 6th value is still correct.
7878

79-
.. _whatsnew_160.notable_bug_fixes.notable_bug_fix2:
79+
.. _whatsnew_200.notable_bug_fixes.notable_bug_fix2:
8080

8181
notable_bug_fix2
8282
^^^^^^^^^^^^^^^^
8383

8484
.. ---------------------------------------------------------------------------
85-
.. _whatsnew_160.api_breaking:
85+
.. _whatsnew_200.api_breaking:
8686

8787
Backwards incompatible API changes
8888
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8989

90-
.. _whatsnew_160.api_breaking.deps:
90+
.. _whatsnew_200.api_breaking.deps:
9191

9292
Increased minimum versions for dependencies
9393
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -112,7 +112,7 @@ Optional libraries below the lowest tested version may still work, but are not c
112112

113113
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
114114

115-
.. _whatsnew_160.api_breaking.other:
115+
.. _whatsnew_200.api_breaking.other:
116116

117117
Other API changes
118118
^^^^^^^^^^^^^^^^^
@@ -125,15 +125,15 @@ Other API changes
125125
-
126126

127127
.. ---------------------------------------------------------------------------
128-
.. _whatsnew_160.deprecations:
128+
.. _whatsnew_200.deprecations:
129129

130130
Deprecations
131131
~~~~~~~~~~~~
132132
-
133133
-
134134

135135
.. ---------------------------------------------------------------------------
136-
.. _whatsnew_160.performance:
136+
.. _whatsnew_200.performance:
137137

138138
Performance improvements
139139
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -160,7 +160,7 @@ Performance improvements
160160
- Performance improvement in :class:`DataFrameGroupBy` and :class:`SeriesGroupBy` when ``by`` is a categorical type and ``sort=False`` (:issue:`48976`)
161161

162162
.. ---------------------------------------------------------------------------
163-
.. _whatsnew_160.bug_fixes:
163+
.. _whatsnew_200.bug_fixes:
164164

165165
Bug fixes
166166
~~~~~~~~~
@@ -297,7 +297,7 @@ Other
297297
-
298298

299299
.. ---------------------------------------------------------------------------
300-
.. _whatsnew_160.contributors:
300+
.. _whatsnew_200.contributors:
301301

302302
Contributors
303303
~~~~~~~~~~~~

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4650,7 +4650,7 @@ def add_prefix(self: NDFrameT, prefix: str, axis: Axis | None = None) -> NDFrame
46504650
axis : {{0 or 'index', 1 or 'columns', None}}, default None
46514651
Axis to add prefix on
46524652
4653-
.. versionadded:: 1.6.0
4653+
.. versionadded:: 2.0.0
46544654
46554655
Returns
46564656
-------
@@ -4724,7 +4724,7 @@ def add_suffix(self: NDFrameT, suffix: str, axis: Axis | None = None) -> NDFrame
47244724
axis : {{0 or 'index', 1 or 'columns', None}}, default None
47254725
Axis to add suffix on
47264726
4727-
.. versionadded:: 1.6.0
4727+
.. versionadded:: 2.0.0
47284728
47294729
Returns
47304730
-------

0 commit comments

Comments
 (0)