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
As per comment by @jacobaustin123:
import pandas as pd idx = pd.MultiIndex.from_arrays([pd.PeriodIndex([pd.Period("2019Q1"), pd.Period("2019Q2")], name='b')]) idx2 = pd.MultiIndex.from_arrays([idx._get_level_values(level) for level in range(idx.nlevels)]) all(x.is_monotonic for x in idx2.levels) # raises an error
The weakly referenced PeriodIndex er dropped before intended, so the PeriodEngine gets a None instead of the PeriodIndex.
PeriodEngine
None
The above should return True.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
As per comment by @jacobaustin123:
Problem description
The weakly referenced PeriodIndex er dropped before intended, so the
PeriodEngine
gets aNone
instead of the PeriodIndex.Expected Output
The above should return True.
The text was updated successfully, but these errors were encountered: