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

Fix BUG: Cannot shift Intervals that are not closed='right' (the default) #60407

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

Conversation

lfffkh
Copy link

@lfffkh lfffkh commented Nov 23, 2024

I made a small modification by adding the closed attribute when creating empty positions for movement. Now we can output the moved result correctly according to the requirements in the issue

0           NaN
1    [1.0, 2.0)
dtype: interval

At the same time, I added a little test for this modification.

If my understanding of the problem is beyond the problem, or if my modifications are incorrect, please feel free to point them out

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.

BUG: Cannot shift Intervals that are not closed='right' (the default)
1 participant