Skip to content
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

DEPR: Remove legacy offsets #13590

Closed
wants to merge 1 commit into from

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 9, 2016

  • tests added / passed
  • passes git diff upstream/master | flake8 --diff
  • whatsnew entry

Follow-up of #10951. Remove legacy offsets deprecated in 0.17.0.

@@ -432,6 +432,7 @@ Deprecations
- ``buffer_lines`` has been deprecated in ``pd.read_csv()`` and will be removed in a future version (:issue:`13360`)
- ``as_recarray`` has been deprecated in ``pd.read_csv()`` and will be removed in a future version (:issue:`13373`)
- top-level ``pd.ordered_merge()`` has been renamed to ``pd.merge_ordered()`` and the original name will be removed in a future version (:issue:`13358`)
- Removal of the legacy time rules (offset aliases), deprecated since 0.14.0 (this has been alias since 0.8.0) (GH13590).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put in a top-level separate section (prior deprecation removal - look how I did this for 0.18.0)

@sinhrks sinhrks added this to the 0.19.0 milestone Jul 9, 2016
@sinhrks sinhrks added Frequency DateOffsets Deprecate Functionality to remove in pandas labels Jul 9, 2016
@codecov-io
Copy link

codecov-io commented Jul 9, 2016

Current coverage is 84.39%

Merging #13590 into master will increase coverage by 0.01%

@@             master     #13590   diff @@
==========================================
  Files           142        142          
  Lines         51225      51191    -34   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits          43225      43202    -23   
+ Misses         8000       7989    -11   
  Partials          0          0          

Powered by Codecov. Last updated by 20de266...2593b1f

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Removal of the legacy time rules (offset aliases), deprecated since 0.14.0 (this has been alias since 0.8.0) (GH13590).

Copy link
Contributor

@jreback jreback Jul 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put the issue reference as a link

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add a blurb about what exactly these are (show an example), and point to the new docs as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, changed the issue number to the link.

@jreback
Copy link
Contributor

jreback commented Jul 9, 2016

lgtm otherwise.

@sinhrks sinhrks force-pushed the depr_legacy_offset branch 2 times, most recently from 4c295e4 to b554bc7 Compare July 10, 2016 01:13
@jorisvandenbossche
Copy link
Member

The "Removal of prior version deprecations/changes" section has already been added in the meantime, so I think this needs a rebase

@jreback jreback closed this in 1e1e9b3 Jul 19, 2016
@sinhrks sinhrks deleted the depr_legacy_offset branch July 19, 2016 02:45
@agraboso agraboso mentioned this pull request Aug 1, 2016
3 tasks
jreback pushed a commit that referenced this pull request Aug 2, 2016
Follow-up to #13590.
Remove legacy offset aliases that remained in
`pandas/tseries/frequencies.py`: `_period_alias_dictionary()` and
`_period_alias_dict`.

Author: agraboso <agraboso@gmail.com>

Closes #13868 from agraboso/follow-13590 and squashes the following commits:

25d932d [agraboso] DEPR: Remove legacy offsets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants