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

BUG: avoid DeprecationWarning when the Series has index as list of Series (#55395) #56325

Merged

Conversation

mroeschke
Copy link
Member

(cherry picked from commit 171cbcd)

…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)
@mroeschke mroeschke added the Warnings Warnings that appear or should be added to pandas label Dec 4, 2023
@mroeschke mroeschke added this to the 2.1.4 milestone Dec 4, 2023
@mroeschke mroeschke requested a review from WillAyd as a code owner December 4, 2023 18:32
@mroeschke mroeschke merged commit 0e9ffbe into pandas-dev:2.1.x Dec 4, 2023
41 of 43 checks passed
@mroeschke mroeschke deleted the auto-backport-of-pr-55395-on-2.1.x branch December 4, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants