We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xref #21584 (comment)
This method would allow for changing the closed value of an existing IntervalIndex.
closed
IntervalIndex
Example usage:
In [2]: index = pd.interval_range(0, 3, closed='both') In [3]: index Out[3]: IntervalIndex([[0, 1], [1, 2], [2, 3]] closed='both', dtype='interval[int64]') In [4]: index.set_closed('neither') Out[4]: IntervalIndex([(0, 1), (1, 2), (2, 3)] closed='neither', dtype='interval[int64]')
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
xref #21584 (comment)
This method would allow for changing the
closed
value of an existingIntervalIndex
.Example usage:
The text was updated successfully, but these errors were encountered: