File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 112
112
BaseMaskedDtype ,
113
113
ExtensionDtype ,
114
114
)
115
+ from pandas .core .dtypes .generic import (
116
+ ABCIndex ,
117
+ ABCSeries ,
118
+ )
115
119
from pandas .core .dtypes .missing import (
116
120
isna ,
117
121
notna ,
118
122
)
119
- from pandas .core .dtypes .generic import (
120
- ABCSeries ,
121
- ABCIndex
122
- )
123
123
124
124
from pandas .core import (
125
125
algorithms ,
@@ -804,7 +804,7 @@ def __init__(
804
804
mgr = dict_to_mgr (
805
805
# error: Item "ndarray" of "Union[ndarray, Series, Index]" has no
806
806
# attribute "name"
807
- {data .name : data }, # type: ignore[union-attr]
807
+ {data .name : data },
808
808
index ,
809
809
columns ,
810
810
dtype = dtype ,
Original file line number Diff line number Diff line change @@ -2792,6 +2792,7 @@ def __new__(cls, input_array):
2792
2792
expected = DataFrame (np .eye (3 ))
2793
2793
tm .assert_frame_equal (df , expected )
2794
2794
2795
+
2795
2796
class TestDataFrameConstructorIndexInference :
2796
2797
def test_frame_from_dict_of_series_overlapping_monthly_period_indexes (self ):
2797
2798
rng1 = pd .period_range ("1/1/1999" , "1/1/2012" , freq = "M" )
You can’t perform that action at this time.
0 commit comments