Skip to content

DOC: change 1.6.0 doc to 2.0.0 #49062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ This is the list of changes to pandas between each release. For full details,
see the `commit logs <https://github.com/pandas-dev/pandas/commits/>`_. For install and
upgrade instructions, see :ref:`install`.

Version 1.6
Version 2.0
-----------

.. toctree::
:maxdepth: 2

v1.6.0
v2.0.0

Version 1.5
-----------
Expand Down
34 changes: 17 additions & 17 deletions doc/source/whatsnew/v1.6.0.rst → doc/source/whatsnew/v2.0.0.rst
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
.. _whatsnew_160:
.. _whatsnew_200:

What's new in 1.6.0 (??)
What's new in 2.0.0 (??)
------------------------

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

{{ header }}

.. ---------------------------------------------------------------------------
.. _whatsnew_160.enhancements:
.. _whatsnew_200.enhancements:

Enhancements
~~~~~~~~~~~~

.. _whatsnew_160.enhancements.enhancement1:
.. _whatsnew_200.enhancements.enhancement1:

enhancement1
^^^^^^^^^^^^

.. _whatsnew_160.enhancements.enhancement2:
.. _whatsnew_200.enhancements.enhancement2:

enhancement2
^^^^^^^^^^^^

.. _whatsnew_160.enhancements.other:
.. _whatsnew_200.enhancements.other:

Other enhancements
^^^^^^^^^^^^^^^^^^
Expand All @@ -39,14 +39,14 @@ Other enhancements
-

.. ---------------------------------------------------------------------------
.. _whatsnew_160.notable_bug_fixes:
.. _whatsnew_200.notable_bug_fixes:

Notable bug fixes
~~~~~~~~~~~~~~~~~

These are bug fixes that might have notable behavior changes.

.. _whatsnew_160.notable_bug_fixes.notable_bug_fix1:
.. _whatsnew_200.notable_bug_fixes.notable_bug_fix1:

:meth:`.GroupBy.cumsum` and :meth:`.GroupBy.cumprod` overflow instead of lossy casting to float
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -76,18 +76,18 @@ We return incorrect results with the 6th value.

We overflow with the 7th value, but the 6th value is still correct.

.. _whatsnew_160.notable_bug_fixes.notable_bug_fix2:
.. _whatsnew_200.notable_bug_fixes.notable_bug_fix2:

notable_bug_fix2
^^^^^^^^^^^^^^^^

.. ---------------------------------------------------------------------------
.. _whatsnew_160.api_breaking:
.. _whatsnew_200.api_breaking:

Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. _whatsnew_160.api_breaking.deps:
.. _whatsnew_200.api_breaking.deps:

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

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

.. _whatsnew_160.api_breaking.other:
.. _whatsnew_200.api_breaking.other:

Other API changes
^^^^^^^^^^^^^^^^^
Expand All @@ -125,15 +125,15 @@ Other API changes
-

.. ---------------------------------------------------------------------------
.. _whatsnew_160.deprecations:
.. _whatsnew_200.deprecations:

Deprecations
~~~~~~~~~~~~
-
-

.. ---------------------------------------------------------------------------
.. _whatsnew_160.performance:
.. _whatsnew_200.performance:

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

.. ---------------------------------------------------------------------------
.. _whatsnew_160.bug_fixes:
.. _whatsnew_200.bug_fixes:

Bug fixes
~~~~~~~~~
Expand Down Expand Up @@ -297,7 +297,7 @@ Other
-

.. ---------------------------------------------------------------------------
.. _whatsnew_160.contributors:
.. _whatsnew_200.contributors:

Contributors
~~~~~~~~~~~~
4 changes: 2 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4650,7 +4650,7 @@ def add_prefix(self: NDFrameT, prefix: str, axis: Axis | None = None) -> NDFrame
axis : {{0 or 'index', 1 or 'columns', None}}, default None
Axis to add prefix on

.. versionadded:: 1.6.0
.. versionadded:: 2.0.0

Returns
-------
Expand Down Expand Up @@ -4724,7 +4724,7 @@ def add_suffix(self: NDFrameT, suffix: str, axis: Axis | None = None) -> NDFrame
axis : {{0 or 'index', 1 or 'columns', None}}, default None
Axis to add suffix on

.. versionadded:: 1.6.0
.. versionadded:: 2.0.0

Returns
-------
Expand Down
4 changes: 0 additions & 4 deletions pandas/tests/series/methods/test_isin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ def test_isin_datetimelike_mismatched_reso(self):
result = ser.isin(dta)
tm.assert_series_equal(result, expected)

@pytest.mark.xfail(
reason="DTA._from_sequence incorrectly treats Timestamp[s].value as "
"nanoseconds."
)
def test_isin_datetimelike_mismatched_reso_list(self):
expected = Series([True, True, False, False, False])

Expand Down