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):
6484
6484
6485
6485
if self .columns .equals (other .columns ):
6486
6486
6487
- if self .empty and len (other ) == other_idxlen :
6488
- return other .copy ()
6489
6487
if self .index .equals (other .index ):
6490
6488
return self .copy ()
6491
6489
elif self .empty :
@@ -6504,7 +6502,11 @@ def combiner(x, y):
6504
6502
other_vals = other [col ][diff_index ]
6505
6503
new_dtype = find_common_type ([this_vals .dtype , other_vals .dtype ])
6506
6504
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
+ )
6508
6510
6509
6511
series [self_index ] = this_vals
6510
6512
series [diff_index ] = other_vals
You can’t perform that action at this time.
0 commit comments