Backport PR #25289 on branch 0.24.x (BUG: fixed merging with empty frame containing an Int64 column (#25183))
State: closed

Backport PR #25289: BUG: fixed merging with empty frame containing an Int64 column (#25183)

Labels:
name: Reshaping
description: Concat, Merge/Join, Stack/Unstack, Explode
name: ExtensionArray
description: Extending pandas with custom dtypes or arrays.

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=h1) Report
> Merging [#25426](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=desc) into [0.24.x](https://codecov.io/gh/pandas-dev/pandas/commit/31fa6f8f1512af521c7a0489b724c285d2ba8bc4?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/25426/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           0.24.x   #25426      +/-   ##
==========================================
+ Coverage   92.39%   92.39%   +<.01%     
==========================================
  Files         166      166              
  Lines       52417    52419       +2     
==========================================
+ Hits        48432    48434       +2     
  Misses       3985     3985
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.82% <100%> (ø)` | :arrow_up: |
| #single | `42.91% <0%> (+0.03%)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/internals/concat.py](https://codecov.io/gh/pandas-dev/pandas/pull/25426/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2NvbmNhdC5weQ==) | `96.48% <100%> (+0.02%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=footer). Last update [31fa6f8...67cf977](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=h1) Report
> Merging [#25426](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=desc) into [0.24.x](https://codecov.io/gh/pandas-dev/pandas/commit/31fa6f8f1512af521c7a0489b724c285d2ba8bc4?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/25426/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           0.24.x   #25426      +/-   ##
==========================================
+ Coverage   92.39%   92.39%   +<.01%     
==========================================
  Files         166      166              
  Lines       52417    52419       +2     
==========================================
+ Hits        48432    48434       +2     
  Misses       3985     3985
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.82% <100%> (ø)` | :arrow_up: |
| #single | `42.91% <0%> (+0.03%)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/internals/concat.py](https://codecov.io/gh/pandas-dev/pandas/pull/25426/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2NvbmNhdC5weQ==) | `96.48% <100%> (+0.02%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=footer). Last update [31fa6f8...67cf977](https://codecov.io/gh/pandas-dev/pandas/pull/25426?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).