DOC: Add note for tail/head when n is larger then length of DataFrame
- [ ] closes #46079 
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Hello @benjamrio! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:

* In the file [`pandas/core/generic.py`](https://github.com/pandas-dev/pandas/blob/7a105ce74f4a07096abe83a654a2b262ef2d7208/pandas/core/generic.py):

> [Line 5165:80](https://github.com/pandas-dev/pandas/blob/7a105ce74f4a07096abe83a654a2b262ef2d7208/pandas/core/generic.py#L5165): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 5241:80](https://github.com/pandas-dev/pandas/blob/7a105ce74f4a07096abe83a654a2b262ef2d7208/pandas/core/generic.py#L5241): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace

 This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Thanks for the pull request, but this was addressed by https://github.com/pandas-dev/pandas/pull/46466. Closing.