-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
ENH: Implement PDEP-17 #61468
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
Open
rhshadrach
wants to merge
20
commits into
pandas-dev:main
Choose a base branch
from
rhshadrach:implement_pdep17
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+467
−1,702
Open
ENH: Implement PDEP-17 #61468
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
80edcb3
ENH: Implement PDEP-17
Aloqeely 054398d
Refinements
rhshadrach 4e46d69
Refinements
rhshadrach 3f3293f
Fixup
rhshadrach cac0126
Merge branch 'main' of https://github.com/pandas-dev/pandas into impl…
rhshadrach 638ca5b
Refinements
rhshadrach e2960b6
Add implementation details to PDEP-17
rhshadrach 92a4e7e
API test fixup
rhshadrach 6bca579
Refinements
rhshadrach 3b9617d
Update doc/source/whatsnew/v3.0.0.rst
rhshadrach ae2c9ae
xfail pandas_datareader
rhshadrach 087dba6
Update web/pandas/pdeps/0017-backwards-compatibility-and-deprecation-…
rhshadrach a6edff6
Merge branch 'main' into implement_pdep17
rhshadrach 25405f2
Debug docs build
rhshadrach 9df8b32
Revert
rhshadrach 31b2460
Debug docs build
rhshadrach 8e85f5c
Debug docs build
rhshadrach ce08582
Fixup & revert
rhshadrach f93374c
Merge branch 'main' of https://github.com/pandas-dev/pandas into impl…
rhshadrach 1fcdd4a
Try removing file
rhshadrach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -24,6 +24,18 @@ Enhancement1 | |||||
Enhancement2 | ||||||
^^^^^^^^^^^^ | ||||||
|
||||||
New Deprecation Policy | ||||||
^^^^^^^^^^^^^^^^^^^^^^ | ||||||
pandas 3.0.0 introduces a new 3-stage deprecation policy: using ``DeprecationWarning`` initially, then switching to ``FutureWarning`` for broader visibility in the last minor version before the next major release, and then removal of the deprecated functionality in the major release. This was done to give downstream packages more time to adjust to pandas deprecations, which should reduce the amount of warnings that a user gets from code that isn't theirs. See `PDEP 17 <https://pandas.pydata.org/pdeps/0017-backwards-compatibility-and-deprecation-policy.html>`_ for more details. | ||||||
|
||||||
All warnings for upcoming changes in pandas will have the base class :class:`pandas.errors.PandasChangeWarning`. Users may also use the following subclasses to control warnings. | ||||||
|
||||||
- :class:`pandas.errors.Pandas4Warning`: Warnings which will be enforced in pandas 4.0. | ||||||
- :class:`pandas.errors.Pandas5Warning`: Warnings which will be enforced in pandas 5.0. | ||||||
- :class:`pandas.errors.PandasPendingDeprecationWarning`: Base class of all warnings which emit a ``PendingDeprecationWarning``, independent of the version they will be enforced. | ||||||
- :class:`pandas.errors.PandasDeprecationWarning`: Base class of all warnings which emit a ``DeprecationWarning``, independent of the version they will be enforced. | ||||||
- :class:`pandas.errors.PandasFutureWarning`: Base class of all warnings which emit a ``PandasFutureWarning``, independent of the version they will be enforced. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
.. _whatsnew_300.enhancements.other: | ||||||
|
||||||
Other enhancements | ||||||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.