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 1717from pandas .core .dtypes .generic import ABCSeries
1818
1919from pandas .core .construction import create_series_with_explicit_dtype
20- from pandas .core .frame import DataFrame
2120
2221if TYPE_CHECKING :
23- from pandas import Series , Index
22+ from pandas import DataFrame , Series , Index
2423
2524ResType = Dict [int , Any ]
2625
@@ -309,7 +308,7 @@ def apply_standard(self):
309308 return self .obj ._constructor_sliced (result , index = labels )
310309 else :
311310 if isinstance (partial_result , ABCSeries ):
312- partial_result = DataFrame .infer_objects (partial_result )
311+ partial_result = partial_result .infer_objects ()
313312
314313 # compute the result using the series generator
315314 results , res_index = self .apply_series_generator (partial_result )
You can’t perform that action at this time.
0 commit comments