forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEPR: non-keyword arguments in any (pandas-dev#44896)
* tighten return type in any * correct overload definitions * add overload def for NDFrame input * remove overload defs and define function any in sub-classes * add overload defs for level * correct default val in overload defs * deprecate non-keyword args * add whatsnew note * modify return types and add tests * move non-keyword deprecation to generic * correct deprecation decorators * remove imports in test assertions * place deprecate_nonkeyword at correct place * remove changes from frame.py, series.py * readd changes in frame, series without actual implementations * place deprecate_nonkeyword at other place * add name argument to deprecate_non_keyword_args decorator * add test for name in deprecate_nonkeyword_args * remove changes from frame.py, series.py * correct stacklevel in warning * correct stacklevel * set stacklevel to default * move deprecation message to whatsnew v1.5.0.rst * add name parameter in deprecate_non_keyword_args docstring * correct whitespace in deprecate_nonkeyword_args docstring * update any non-keyword args in other tests * update any in doc * update remaining any() calls in pandas/core * correct docstring of isocalendar in pandas/core/indexes/accessors.py Co-authored-by: Marco Edward Gorelli <marcogorelli@protonmail.com>
- Loading branch information
1 parent
285127c
commit 94d52a1
Showing
8 changed files
with
59 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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