Edit parameter type in pandas.core.frame.py DataFrame.count
State: closed

Changed parameter type from boolean to bool

Labels:
name: Docs

Comments:
Is this the only error? We've had quite a few issues opened like #25105 which tackle issues like these in batch. Any idea how many of these are out there and if it's feasible to tackle them instead of just this one-off?
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25198?src=pr&el=h1) Report
> Merging [#25198](https://codecov.io/gh/pandas-dev/pandas/pull/25198?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/638ddebaa7da1e569836a5b89593b120dbbf491c?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `n/a`.

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

```diff
@@            Coverage Diff             @@
##           master   #25198      +/-   ##
==========================================
- Coverage   92.35%   92.34%   -0.01%     
==========================================
  Files         166      166              
  Lines       52314    52314              
==========================================
- Hits        48312    48311       -1     
- Misses       4002     4003       +1
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.78% <ø> (ø)` | :arrow_up: |
| #single | `42.84% <ø> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25198?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/25198/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `96.65% <ø> (ø)` | :arrow_up: |
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/25198/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `87.95% <0%> (-0.1%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25198?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/25198?src=pr&el=footer). Last update [638ddeb...17b2b69](https://codecov.io/gh/pandas-dev/pandas/pull/25198?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/25198?src=pr&el=h1) Report
> Merging [#25198](https://codecov.io/gh/pandas-dev/pandas/pull/25198?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/638ddebaa7da1e569836a5b89593b120dbbf491c?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `n/a`.

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

```diff
@@            Coverage Diff             @@
##           master   #25198      +/-   ##
==========================================
- Coverage   92.35%   92.34%   -0.01%     
==========================================
  Files         166      166              
  Lines       52314    52314              
==========================================
- Hits        48312    48311       -1     
- Misses       4002     4003       +1
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.78% <ø> (ø)` | :arrow_up: |
| #single | `42.84% <ø> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25198?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/25198/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `96.65% <ø> (ø)` | :arrow_up: |
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/25198/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `87.95% <0%> (-0.1%)` | :arrow_down: |

------

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

Yes sure, I'll have a look. This was my first contribution so it was mostly a test to check how everything works. I'll fix some more and update my PR. Thanks
@kpapdac this works for now. If you'd like to investigate further and open a subsequent PR would certainly be welcome