-
-
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
Merge branch 'master' of https://github.com/pandas-dev/pandas into in…
…tops
- Loading branch information
commit 3fb29bce494dee9ee7933e2e6b7d89e32a577d75
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -514,6 +514,8 @@ Deprecations | |
- The signature of :meth:`Series.to_csv` has been uniformed to that of doc:meth:`DataFrame.to_csv`: the name of the first argument is now 'path_or_buf', the order of subsequent arguments has changed, the 'header' argument now defaults to True. (:issue:`19715`) | ||
- :meth:`Categorical.from_codes` has deprecated providing float values for the ``codes`` argument. (:issue:`21767`) | ||
- :func:`pandas.read_table` is deprecated. Instead, use :func:`pandas.read_csv` passing ``sep='\t'`` if necessary (:issue:`21948`) | ||
- :meth:`Series.str.cat` has deprecated using arbitrary list-likes *within* list-likes. A list-like container may still contain | ||
many ``Series``, ``Index`` or 1-dimensional ``np.ndarray``, or alternatively, only scalar values. (:issue:`21950`) | ||
- Addition or subtraction of integers with :class:`Timestamp`, :class:`Period`, :class:`DatetimeIndex`, :class:`TimedeltaIndex`, :class:`PeriodIndex` is deprecated, will be removed in a future version (:issue:`21939`) | ||
- Addition or subtraction of integer-dtyped arrays with:class:`DatetimeIndex`, :class:`TimedeltaIndex`, :class:`PeriodIndex` is deprecated, will be removed in a future version (:issue:`21939`) | ||
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. space after with |
||
|
||
|
You are viewing a condensed version of this merge commit. You can view the full changes here.
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.
pls make a sub-section and show what is being deprecated and what is the alternative. this is actually a rather large change.
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.
I'll try to get to this tomorrow.
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.
@jreback just added this section; wasn't sure on where in the doc to put it and the ipython/code-block syntax is a shot in the dark. Please advise.