DOC: Add missing docstrings for Index.empty, Index.view and Index.names
- [ All docstrings tests passed]

pre-commit.ci autofix /preview > I fixed all the issues here, if someone else can have a second look to see if this can be merge. The PR is stale but it's a nice addition, so I've been addressing all the issues myself.

LGTM. @mroeschke all docstrings seem to have already been added in main, should we close this?

I think the changes here provide more info and I also see a few differences that look correct here but are wrong on main.  I can follow up with a PR that will add some of the changes here to the current docstrings. > all docstrings seem to have already been added in main, should we close this?

Sure we can close this and have a follow up to improve the docstrings if needed 