File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 17
17
from pandas .core .dtypes .generic import ABCSeries
18
18
19
19
from pandas .core .construction import create_series_with_explicit_dtype
20
- from pandas .core .frame import DataFrame
21
20
22
21
if TYPE_CHECKING :
23
- from pandas import Series , Index
22
+ from pandas import DataFrame , Series , Index
24
23
25
24
ResType = Dict [int , Any ]
26
25
@@ -309,7 +308,7 @@ def apply_standard(self):
309
308
return self .obj ._constructor_sliced (result , index = labels )
310
309
else :
311
310
if isinstance (partial_result , ABCSeries ):
312
- partial_result = DataFrame .infer_objects (partial_result )
311
+ partial_result = partial_result .infer_objects ()
313
312
314
313
# compute the result using the series generator
315
314
results , res_index = self .apply_series_generator (partial_result )
You can’t perform that action at this time.
0 commit comments