Skip to content

ENH pandas-dev#60693: shift operations for Series and DataFrames #61540

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

David-msggc
Copy link
Contributor

This commit introduces the rshift and lshift method for both Series and DataFrames in pandas. It also adds the corresponding in-place methods.
These methdos don't work between a Series and a Dataframe, or if the two Series or DataFrames differ in size.

This commit introduces the rshift and lshift method for both Series and DataFrames in pandas.
It also adds the corresponding in-place methods.
These methdos don't work between a Series and a Dataframe, or if the two Series or DataFrames differ in size.

Co-authored-by: Tomas Macieira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: add __rshift__, __lshift__, __irshift__ and __ilshift__
1 participant