DOC: remove usage of lrange in docs
Due to the recent removals (eg https://github.com/pandas-dev/pandas/pull/26396 and others)
Verified the log that this is fixed # [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/26423?src=pr&el=h1) Report
> Merging [#26423](https://codecov.io/gh/pandas-dev/pandas/pull/26423?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/421ae9d6fca42bf26eadabca7b7406e74f7814aa?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/26423/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/26423?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #26423      +/-   ##
==========================================
- Coverage   91.69%   91.69%   -0.01%     
==========================================
  Files         174      174              
  Lines       50741    50741              
==========================================
- Hits        46529    46525       -4     
- Misses       4212     4216       +4
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.19% <ø> (ø)` | :arrow_up: |
| #single | `41.16% <ø> (-0.18%)` | :arrow_down: |

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

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/26423?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/26423?src=pr&el=footer). Last update [421ae9d...1f061de](https://codecov.io/gh/pandas-dev/pandas/pull/26423?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 ``pd.DataFrame(range(10))`` doesn't work in 0.24 (fixed for 0.25), so will likely not have worked in the older versions either. Maybe too late, but I think ``pd.DataFrame(list(range(10)))`` could be better, as these are release notes? Ah, good point. I actually made sure I tested it, as I was not sure if I needed to use `list(..)` or not, but I was using master .. ;)