File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6484,8 +6484,6 @@ def combiner(x, y):
64846484
64856485 if self .columns .equals (other .columns ):
64866486
6487- if self .empty and len (other ) == other_idxlen :
6488- return other .copy ()
64896487 if self .index .equals (other .index ):
64906488 return self .copy ()
64916489 elif self .empty :
@@ -6504,7 +6502,11 @@ def combiner(x, y):
65046502 other_vals = other [col ][diff_index ]
65056503 new_dtype = find_common_type ([this_vals .dtype , other_vals .dtype ])
65066504
6507- series = Series ([this_vals .values [0 ]] * len (new_index ), dtype = new_dtype , index = new_index )
6505+ series = Series (
6506+ [this_vals .values [0 ]] * len (new_index ),
6507+ dtype = new_dtype ,
6508+ index = new_index
6509+ )
65086510
65096511 series [self_index ] = this_vals
65106512 series [diff_index ] = other_vals
You can’t perform that action at this time.
0 commit comments