File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ def _get_result(
598598 result = sample ._constructor_from_mgr (mgr , axes = mgr .axes )
599599 result ._name = name
600600 return result .__finalize__ (
601- types .SimpleNamespace (input_objs = objs ), method = "concat"
601+ types .SimpleNamespace (input_objs = objs , objs = objs ), method = "concat"
602602 )
603603
604604 # combine as columns in a frame
@@ -620,7 +620,7 @@ def _get_result(
620620 df = cons (data , index = index , copy = False )
621621 df .columns = columns
622622 return df .__finalize__ (
623- types .SimpleNamespace (input_objs = objs ), method = "concat"
623+ types .SimpleNamespace (input_objs = objs , objs = objs ), method = "concat"
624624 )
625625
626626 # combine block managers
@@ -660,7 +660,9 @@ def _get_result(
660660 )
661661
662662 out = sample ._constructor_from_mgr (new_data , axes = new_data .axes )
663- return out .__finalize__ (types .SimpleNamespace (input_objs = objs ), method = "concat" )
663+ return out .__finalize__ (
664+ types .SimpleNamespace (input_objs = objs , objs = objs ), method = "concat"
665+ )
664666
665667
666668def new_axes (
Original file line number Diff line number Diff line change @@ -1150,7 +1150,10 @@ def get_result(self) -> DataFrame:
11501150 self ._maybe_restore_index_levels (result )
11511151
11521152 return result .__finalize__ (
1153- types .SimpleNamespace (input_objs = [self .left , self .right ]), method = "merge"
1153+ types .SimpleNamespace (
1154+ input_objs = [self .left , self .right ], left = self .left , right = self .right
1155+ ),
1156+ method = "merge" ,
11541157 )
11551158
11561159 @final
You can’t perform that action at this time.
0 commit comments