CLN: Remove redundant definitions in pandas.compat (filter, map, range, etc.)
- [X] xref #25725
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Some more low hanging fruit in the Python 2 removal process.  This should remove all references to the following functions in `pandas.compat` which are redundantly defined for Python 3:
  - `filter`
  - `map`
  - `range`
  - `zip`
  - `next`
  - `FileNotFoundError`
  - `ResourceWarning`
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=h1) Report
> Merging [#25845](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/9e27f1298d4cd1dcfcf559937125e547c0341f0e?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/25845/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #25845      +/-   ##
==========================================
+ Coverage    91.3%   91.31%   +<.01%     
==========================================
  Files         173      173              
  Lines       53004    52974      -30     
==========================================
- Hits        48397    48374      -23     
+ Misses       4607     4600       -7
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.88% <100%> (ø)` | :arrow_up: |
| #single | `41.75% <84.84%> (-0.02%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/excel/\_xlrd.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2V4Y2VsL194bHJkLnB5) | `93.93% <ø> (-0.1%)` | :arrow_down: |
| [pandas/core/computation/align.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29tcHV0YXRpb24vYWxpZ24ucHk=) | `97.82% <ø> (-0.03%)` | :arrow_down: |
| [pandas/core/strings.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvc3RyaW5ncy5weQ==) | `98.59% <ø> (-0.01%)` | :arrow_down: |
| [pandas/io/formats/style.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2Zvcm1hdHMvc3R5bGUucHk=) | `96.68% <ø> (-0.01%)` | :arrow_down: |
| [pandas/tseries/offsets.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL3RzZXJpZXMvb2Zmc2V0cy5weQ==) | `96.69% <ø> (-0.01%)` | :arrow_down: |
| [pandas/io/date\_converters.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2RhdGVfY29udmVydGVycy5weQ==) | `100% <ø> (ø)` | :arrow_up: |
| [pandas/core/internals/managers.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL21hbmFnZXJzLnB5) | `93.93% <ø> (-0.01%)` | :arrow_down: |
| [pandas/core/internals/construction.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2NvbnN0cnVjdGlvbi5weQ==) | `95.9% <ø> (ø)` | :arrow_up: |
| [pandas/core/internals/blocks.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2Jsb2Nrcy5weQ==) | `94.08% <ø> (-0.01%)` | :arrow_down: |
| [pandas/core/indexing.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW5kZXhpbmcucHk=) | `90.87% <ø> (-0.01%)` | :arrow_down: |
| ... and [39 more](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree-more) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25845?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/25845?src=pr&el=footer). Last update [9e27f12...583841b](https://codecov.io/gh/pandas-dev/pandas/pull/25845?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/25845?src=pr&el=h1) Report
> Merging [#25845](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/9e27f1298d4cd1dcfcf559937125e547c0341f0e?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/25845/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #25845      +/-   ##
==========================================
+ Coverage    91.3%   91.31%   +<.01%     
==========================================
  Files         173      173              
  Lines       53004    52977      -27     
==========================================
- Hits        48397    48376      -21     
+ Misses       4607     4601       -6
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.88% <100%> (ø)` | :arrow_up: |
| #single | `41.75% <84.37%> (-0.02%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/excel/\_xlrd.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2V4Y2VsL194bHJkLnB5) | `93.93% <ø> (-0.1%)` | :arrow_down: |
| [pandas/core/computation/align.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvY29tcHV0YXRpb24vYWxpZ24ucHk=) | `97.82% <ø> (-0.03%)` | :arrow_down: |
| [pandas/core/strings.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvc3RyaW5ncy5weQ==) | `98.59% <ø> (-0.01%)` | :arrow_down: |
| [pandas/io/formats/style.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2Zvcm1hdHMvc3R5bGUucHk=) | `96.68% <ø> (-0.01%)` | :arrow_down: |
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `89.4% <ø> (ø)` | :arrow_up: |
| [pandas/tseries/offsets.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL3RzZXJpZXMvb2Zmc2V0cy5weQ==) | `96.69% <ø> (-0.01%)` | :arrow_down: |
| [pandas/io/date\_converters.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2RhdGVfY29udmVydGVycy5weQ==) | `100% <ø> (ø)` | :arrow_up: |
| [pandas/core/internals/managers.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL21hbmFnZXJzLnB5) | `93.93% <ø> (-0.01%)` | :arrow_down: |
| [pandas/core/internals/construction.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2NvbnN0cnVjdGlvbi5weQ==) | `95.9% <ø> (ø)` | :arrow_up: |
| [pandas/core/internals/blocks.py](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW50ZXJuYWxzL2Jsb2Nrcy5weQ==) | `94.08% <ø> (-0.01%)` | :arrow_down: |
| ... and [38 more](https://codecov.io/gh/pandas-dev/pandas/pull/25845/diff?src=pr&el=tree-more) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25845?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/25845?src=pr&el=footer). Last update [9e27f12...8c3c1b2](https://codecov.io/gh/pandas-dev/pandas/pull/25845?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 thanks @jschendel 