Skip to content

Conversation

@jbrockmendel
Copy link
Member

Last prerequisite before we can fix #28080.

@TomAugspurger
Copy link
Contributor

What would a release note for this look like? IIUC, this is backwards compatible since catching a ValueError will still catch this NullFrequencyError? But we should still have a note describing the change so that users could tighten up the caught exception if they desire.

@TomAugspurger TomAugspurger added this to the 1.0 milestone Sep 3, 2019
@jbrockmendel
Copy link
Member Author

What would a release note for this look like?

This is a good question. I'm hesitant to advertise the change because before long we'll be enforcing the deprecation, at which point this should raise TypeError.

@WillAyd
Copy link
Member

WillAyd commented Sep 3, 2019

I think OK to just say something like ... now raises a NullFrequencyError without worrying too much about the details of a future deprecation

Datetimelike
^^^^^^^^^^^^

- Addition and subtraction of integer or integer-dtype arrays with :class:`Timestamp` will now raise ``NullFrequencyError`` instead of ``ValueError`` (:issue:`28268`)
Copy link
Contributor

Choose a reason for hiding this comment

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

move to 1.0

Copy link
Member Author

Choose a reason for hiding this comment

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

changed+green

@jreback jreback added Bug Frequency DateOffsets labels Sep 4, 2019
@jreback
Copy link
Contributor

jreback commented Sep 7, 2019

lgtm. maybe rebase and push again (as the CI is hanging)

@jbrockmendel
Copy link
Member Author

rebased+green

@WillAyd
Copy link
Member

WillAyd commented Sep 7, 2019

Looks like some merge conflicts - can you fix up and repush?

@jbrockmendel
Copy link
Member Author

rebased+green

@jreback jreback merged commit 5c57e7b into pandas-dev:master Sep 8, 2019
@jreback
Copy link
Contributor

jreback commented Sep 8, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the nfe branch September 8, 2019 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Frequency DateOffsets

4 participants