Skip to content

Requested Follow-Ups #33856

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 6 commits into from
Apr 30, 2020
Merged

Requested Follow-Ups #33856

merged 6 commits into from
Apr 30, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

if periods == 0:
# TODO: should we copy here?
return new_values
if periods == 0 or values.size == 0:
Copy link
Contributor

Choose a reason for hiding this comment

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

do we have a test on the copy itself? in the consumer of this code

Copy link
Member Author

Choose a reason for hiding this comment

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

disabling the copy here doesnt break any tests, so looks like "no". will add one

@jreback jreback added Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite labels Apr 29, 2020
@jreback jreback added this to the 1.1 milestone Apr 29, 2020
@jreback jreback added Frequency DateOffsets Datetime Datetime data dtype labels Apr 30, 2020
@jreback jreback merged commit c1df529 into pandas-dev:master Apr 30, 2020
@jreback
Copy link
Contributor

jreback commented Apr 30, 2020

thanks

@jbrockmendel jbrockmendel deleted the follow-shift branch April 30, 2020 14:43
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Frequency DateOffsets Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants