Backport PR #39019 on branch 1.2.x (DOC: np.bool -> np.bool_)
Backport PR #39019: DOC: np.bool -> np.bool_
test failure seen before. maybe flakey test, restarting ci anyway.

```
=========================== short test summary info ============================
FAILED pandas/tests/io/test_gcs.py::test_to_csv_compression_encoding_gcs[zip-utf-8]
= 1 failed, 146094 passed, 3169 skipped, 1096 xfailed, 32 warnings in 2494.44s (0:41:34) =
```