Commit 171cbcd
authored
BUG: avoid DeprecationWarning when the Series has index as list of Series (#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.41 parent 7e89905 commit 171cbcd
File tree
3 files changed
+17
-13
lines changed- doc/source/whatsnew
- pandas
- _libs
- tests/series
3 files changed
+17
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
865 | 871 | | |
866 | 872 | | |
867 | | - | |
868 | | - | |
| 873 | + | |
| 874 | + | |
869 | 875 | | |
870 | 876 | | |
871 | 877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2144 | 2144 | | |
2145 | 2145 | | |
2146 | 2146 | | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
2155 | | - | |
2156 | | - | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
2157 | 2155 | | |
2158 | 2156 | | |
2159 | 2157 | | |
| |||
0 commit comments