Skip to content

Commit

Permalink
CLN: removed the 'diff' method for Index
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyoung committed Jul 20, 2016
1 parent 8acfad3 commit 7dca659
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.19.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ Removal of prior version deprecations/changes
- ``pd.Categorical`` has dropped setting of the ``ordered`` attribute directly in favor of the ``set_ordered`` method (:issue:`13671`)
- ``pd.Categorical`` has dropped the ``levels`` attribute in favour of ``categories`` (:issue:`8376`)
- ``DataFrame.to_sql()`` has dropped the ``mysql`` option for the ``flavor`` parameter (:issue:`13611`)
- ``pd.Index`` has dropped the ``diff`` method in favour of ``difference`` (:issue:`13669`)

- Removal of the legacy time rules (offset aliases), deprecated since 0.17.0 (this has been alias since 0.8.0) (:issue:`13590`)

Expand Down
2 changes: 0 additions & 2 deletions pandas/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1965,8 +1965,6 @@ def difference(self, other):

return this._shallow_copy(the_diff, name=result_name)

diff = deprecate('diff', difference)

def symmetric_difference(self, other, result_name=None):
"""
Compute the symmetric difference of two Index objects.
Expand Down

0 comments on commit 7dca659

Please sign in to comment.