COMPAT: Suppress .take() warning for numpy < 1.12
State: closed

Follow-up to #17352.

Labels:
name: Compat
description: pandas objects compatability with Numpy or Python functions

Comments:
lgtm. merge on green.
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=h1) Report
> Merging [#17764](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/2ff1241fa794231b8317ebe96b66f71dce99e0c2?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.

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

```diff
@@            Coverage Diff             @@
##           master   #17764      +/-   ##
==========================================
- Coverage   91.23%   91.21%   -0.02%     
==========================================
  Files         163      163              
  Lines       49869    49869              
==========================================
- Hits        45499    45490       -9     
- Misses       4370     4379       +9
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.01% <ø> (ø)` | :arrow_up: |
| #single | `40.24% <ø> (-0.07%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.73% <0%> (-0.1%)` | :arrow_down: |

------

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

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

```diff
@@            Coverage Diff             @@
##           master   #17764      +/-   ##
==========================================
- Coverage   91.23%   91.21%   -0.02%     
==========================================
  Files         163      163              
  Lines       49869    49869              
==========================================
- Hits        45499    45490       -9     
- Misses       4370     4379       +9
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.01% <ø> (ø)` | :arrow_up: |
| #single | `40.24% <ø> (-0.07%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/17764?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.73% <0%> (-0.1%)` | :arrow_down: |

------

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

thanks @gfyoung