Enhancement: documentation on "Working with Pandas and NumPy": rewrite example
The example in https://foss.heptapod.net/openpyxl/openpyxl/-/blob/branch/3.0/doc/pandas.rst#L88-94 is a little bit awkward.
I would suggest
data = ws.values
cols = next(data)
df = DataFrame(data, columns=cols).set_index(cols[0])
instead of the current
from itertools import islice
data = ws.values
cols = next(data)[1:]
data = list(data)
idx = [r[0] for r in data]
data = (islice(r, 1, None) for r in data)
df = DataFrame(data, index=idx, columns=cols)