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 112112 BaseMaskedDtype ,
113113 ExtensionDtype ,
114114)
115+ from pandas .core .dtypes .generic import (
116+ ABCIndex ,
117+ ABCSeries ,
118+ )
115119from pandas .core .dtypes .missing import (
116120 isna ,
117121 notna ,
118122)
119- from pandas .core .dtypes .generic import (
120- ABCSeries ,
121- ABCIndex
122- )
123123
124124from pandas .core import (
125125 algorithms ,
@@ -804,7 +804,7 @@ def __init__(
804804 mgr = dict_to_mgr (
805805 # error: Item "ndarray" of "Union[ndarray, Series, Index]" has no
806806 # attribute "name"
807- {data .name : data }, # type: ignore[union-attr]
807+ {data .name : data },
808808 index ,
809809 columns ,
810810 dtype = dtype ,
Original file line number Diff line number Diff line change @@ -2792,6 +2792,7 @@ def __new__(cls, input_array):
27922792 expected = DataFrame (np .eye (3 ))
27932793 tm .assert_frame_equal (df , expected )
27942794
2795+
27952796class TestDataFrameConstructorIndexInference :
27962797 def test_frame_from_dict_of_series_overlapping_monthly_period_indexes (self ):
27972798 rng1 = pd .period_range ("1/1/1999" , "1/1/2012" , freq = "M" )
You can’t perform that action at this time.
0 commit comments