Skip to content

Commit

Permalink
DOC: Add pandas-stubs and potential 2.0 API breaks to 1.5 whatsnew (p…
Browse files Browse the repository at this point in the history
…andas-dev#47922)

* DOC: Add pandas-stubs and potential 2.0 API breaks to 1.5 whatsnew

* Add link to zoneinfo

* Address comments
  • Loading branch information
mroeschke authored and noatamir committed Nov 9, 2022
1 parent f815233 commit b4f7cae
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/source/whatsnew/v1.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ including other versions of pandas.
Enhancements
~~~~~~~~~~~~

.. _whatsnew_150.enhancements.pandas-stubs:

``pandas-stubs``
^^^^^^^^^^^^^^^^

The ``pandas-stubs`` library is now supported by the pandas development team, providing type stubs for the pandas API. Please visit
https://github.com/pandas-dev/pandas-stubs for more information.

We thank VirtusLab and Microsoft for their initial, significant contributions to ``pandas-stubs``

.. _whatsnew_150.enhancements.dataframe_interchange:

DataFrame interchange protocol implementation
Expand Down Expand Up @@ -544,6 +554,14 @@ Other API changes
Deprecations
~~~~~~~~~~~~

.. warning::

In the next major version release, 2.0, several larger API changes are being considered without a formal deprecation such as
making the standard library `zoneinfo <https://docs.python.org/3/library/zoneinfo.html>`_ the default timezone implementation instead of ``pytz``,
having the :class:`Index` support all data types instead of having multiple subclasses (:class:`CategoricalIndex`, :class:`Int64Index`, etc.), and more.
The changes under consideration are logged in `this Github issue <https://github.com/pandas-dev/pandas/issues/44823>`_, and any
feedback or concerns are welcome.

.. _whatsnew_150.deprecations.int_slicing_series:

Label-based integer slicing on a Series with an Int64Index or RangeIndex
Expand Down

0 comments on commit b4f7cae

Please sign in to comment.