Skip to content

Conversation

@simonjayhawkins
Copy link
Member

@simonjayhawkins simonjayhawkins commented Sep 24, 2020

closes #35897

maybe alternative to #36582 if no changes since #32377 now fail (not tested locally)

cc @phofl @jbrockmendel

@simonjayhawkins simonjayhawkins added this to the 1.1.3 milestone Sep 24, 2020
@simonjayhawkins simonjayhawkins added Timedelta Timedelta data type Regression Functionality that used to work in a prior pandas version labels Sep 24, 2020
@simonjayhawkins
Copy link
Member Author

maybe alternative to #36582 if no changes since #32377 now fail (not tested locally)

looks like maybe just a doctest added since.

the release note will need to explain that the enhancement has been reverted, so a proper fix maybe more preferable.

will leave this a draft for now.

@jbrockmendel
Copy link
Member

LGTM

@jreback
Copy link
Contributor

jreback commented Sep 24, 2020

@simonjayhawkins yep looks good here too; if you can add a release note and merge master; ping on green (and you are in draft status)

@pep8speaks
Copy link

pep8speaks commented Sep 25, 2020

Hello @simonjayhawkins! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-09-25 18:36:20 UTC

@simonjayhawkins simonjayhawkins marked this pull request as ready for review September 25, 2020 10:37
@simonjayhawkins
Copy link
Member Author

ci restarted

=========================== short test summary info ===========================
FAILED pandas/tests/plotting/test_groupby.py::TestDataFrameGroupByPlots::test_series_groupby_plotting_nominally_works
= 1 failed, 75523 passed, 1809 skipped, 1165 xfailed, 67 warnings in 1223.71s (0:20:23) =

@simonjayhawkins
Copy link
Member Author

@simonjayhawkins yep looks good here too; if you can add a release note and merge master; ping on green (and you are in draft status)

@jreback green

if freq.nanos == 0 and self.freq.nanos != 0:
# e.g. if self.freq is Nano(1) then dividing by 2
# rounds down to zero
freq = None
Copy link
Member

Choose a reason for hiding this comment

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

is reverting this necessary? im surprised there isnt a test that hits it

Copy link
Member Author

Choose a reason for hiding this comment

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

no idea. maybe added to stop failing tests with inferred freq?

@jreback jreback merged commit 8142651 into pandas-dev:master Sep 26, 2020
@jreback
Copy link
Contributor

jreback commented Sep 26, 2020

3rd time the charm, thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the revert-infer branch September 26, 2020 08:35
@simonjayhawkins
Copy link
Member Author

@meeseeksdev backport 1.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Regression Functionality that used to work in a prior pandas version Timedelta Timedelta data type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in pandas 1.1.0: no longer allows adding a timestamp to timedelta range to create a datetime range.

5 participants