-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: avoid DeprecationWarning when the Series has index as list of Series #55395
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
Conversation
…test pandas/tests/indexes/period/test_period.py::TestPeriodIndex::test_with_multi_index'
@jbrockmendel I have adapted your suggestion of runtime importing |
Then exclude ABCMultiIndex i guess |
@jbrockmendel Sorry that I forgot about this PR. I have excluded |
Looks pretty good. Could you resolve the merge conflict? |
Done @mroeschke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM any other comments @jbrockmendel ?
Done @mroeschke, sorry for the delay. |
Thanks @Charlie-XIAO |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…ries (pandas-dev#55395) * BUG: avoid DeprecationWarning when the Series has index as list of Series * hasattr(type(obj), '_data') not working as expected, for instance 'pytest pandas/tests/indexes/period/test_period.py::TestPeriodIndex::test_with_multi_index' * adopt jbrockmendel suggestion: runtime import ABC{Index, Series} * exclude ABCMultiIndex; move changelog to 2.1.3 * fix changelog order * moved changelog 2.1.3 -> 2.1.4 (cherry picked from commit 171cbcd)
…ries (#55395) (#56325) * BUG: avoid DeprecationWarning when the Series has index as list of Series * hasattr(type(obj), '_data') not working as expected, for instance 'pytest pandas/tests/indexes/period/test_period.py::TestPeriodIndex::test_with_multi_index' * adopt jbrockmendel suggestion: runtime import ABC{Index, Series} * exclude ABCMultiIndex; move changelog to 2.1.3 * fix changelog order * moved changelog 2.1.3 -> 2.1.4 (cherry picked from commit 171cbcd) Co-authored-by: Yao Xiao <[email protected]>
Series
constructor #55228doc/source/whatsnew/v2.1.4.rst
file