Skip to content
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
TomAugspurger committed Jun 19, 2020
commit a83a5fe7af7e15d94e540c0cd791d0b710a213c5
2 changes: 0 additions & 2 deletions pandas/core/internals/concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ def _get_empty_dtype_and_na(join_units):

upcast_classes = defaultdict(list)
null_upcast_classes = defaultdict(list)

for dtype, unit in zip(dtypes, join_units):
if dtype is None:
continue
Expand All @@ -386,7 +385,6 @@ def _get_empty_dtype_and_na(join_units):
elif is_datetime64tz_dtype(dtype):
upcast_cls = "datetimetz"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort of dumb, but no blank lines before/after

# may need to move sparse back up
elif is_extension_array_dtype(dtype):
upcast_cls = "extension"

Expand Down