Backport PR #25304 on branch 0.24.x (BUG: Fix passing of numeric_only argument for categorical reduce)
Backport PR #25304: BUG: Fix passing of numeric_only argument for categorical reduce
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=h1) Report
> Merging [#25344](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=desc) into [0.24.x](https://codecov.io/gh/pandas-dev/pandas/commit/df96f1292992d7c58417b03a24e4f00576cbfe22?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/25344/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           0.24.x   #25344      +/-   ##
==========================================
+ Coverage   92.39%   92.39%   +<.01%     
==========================================
  Files         166      166              
  Lines       52408    52410       +2     
==========================================
+ Hits        48422    48424       +2     
  Misses       3986     3986
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.82% <100%> (ø)` | :arrow_up: |
| #single | `42.88% <75%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/arrays/categorical.py](https://codecov.io/gh/pandas-dev/pandas/pull/25344/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2NhdGVnb3JpY2FsLnB5) | `95.97% <100%> (ø)` | :arrow_up: |
| [pandas/core/series.py](https://codecov.io/gh/pandas-dev/pandas/pull/25344/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvc2VyaWVzLnB5) | `93.69% <100%> (+0.01%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25344?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/25344?src=pr&el=footer). Last update [df96f12...561b353](https://codecov.io/gh/pandas-dev/pandas/pull/25344?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/25344?src=pr&el=h1) Report
> Merging [#25344](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=desc) into [0.24.x](https://codecov.io/gh/pandas-dev/pandas/commit/df96f1292992d7c58417b03a24e4f00576cbfe22?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/25344/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           0.24.x   #25344      +/-   ##
==========================================
+ Coverage   92.39%   92.39%   +<.01%     
==========================================
  Files         166      166              
  Lines       52408    52410       +2     
==========================================
+ Hits        48422    48424       +2     
  Misses       3986     3986
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.82% <100%> (ø)` | :arrow_up: |
| #single | `42.88% <75%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/arrays/categorical.py](https://codecov.io/gh/pandas-dev/pandas/pull/25344/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2NhdGVnb3JpY2FsLnB5) | `95.97% <100%> (ø)` | :arrow_up: |
| [pandas/core/series.py](https://codecov.io/gh/pandas-dev/pandas/pull/25344/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvc2VyaWVzLnB5) | `93.69% <100%> (+0.01%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25344?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/25344?src=pr&el=footer). Last update [df96f12...561b353](https://codecov.io/gh/pandas-dev/pandas/pull/25344?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
