-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
DEPR: deprecate integer add/sub with DTI/TDI/PI/Timestamp/Period #22535
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
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
145eb6a
DEPR: deprecate integer add/sub with DTI/TDI/PI/Timestamp/Period
jbrockmendel d5c5f28
say future version instead of a specific version number
jbrockmendel 3fb29bc
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 81c9eab
typo fixup
jbrockmendel 26c9966
Catch FutureWarning/PerformanceWarning in tests
jbrockmendel 11959b1
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 8952cb5
set stacklevel
jbrockmendel 7c79364
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel d0fa41a
Avoid warnings in plotting._converter
jbrockmendel c23346b
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel f6daf34
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel b7e3dcf
Fixup flipped condition
jbrockmendel 2a829d3
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel f24643c
whatsnew section on deprecation
jbrockmendel 6fea2a8
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel b469bef
just input in whatsnew executable block
jbrockmendel 20d58fa
Catch warnings in tests
jbrockmendel 984bc7e
TST: catch warnings for strict test run
jbrockmendel 841718c
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 7e7a348
Catch warnings
jbrockmendel 17f6be0
Avoid warnings
jbrockmendel 29cca46
catch more warnings
jbrockmendel b0a222a
avoid warning
jbrockmendel 14b9eaf
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 55dc265
Avoid need to catch deprecation warnings
jbrockmendel 9443df9
stop using deprecated usage
jbrockmendel d46452d
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel af31b0c
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 0bebbe0
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel c7dd7ce
update to user PeriodArray private method
jbrockmendel ca55b4a
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 394a3b8
suppress
jbrockmendel 3884bb4
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel a15d9e4
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel 5256671
function for warning
jbrockmendel d8865d7
ignore stacklevel
jbrockmendel da72660
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
jbrockmendel fcd65b3
Show deprecation warning in whatsnew
jbrockmendel 6ded8b1
move location of addsub_int_array warning
jbrockmendel 4a7b589
rename deprecation warning function
jbrockmendel 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
suppress
- Loading branch information
commit 394a3b85c18d98330920be302f33b764adcacba4
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh? what are you adding a new kwarg for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still call
_addsub_int_array
internally from a few places (here and in DateOffsetapply_index
methods) and want to suppress the warning.But actually now that the warning is a one-liner, it is less cumbersome to put it directly in
__add__/__sub__
. Will change.