DOC: GH42204: Change docstring for head and tail in core/generic.py
- [X] closes #42204
- [X] As test, ran scripts/validate_docstring.py with outputs
Docstring for "pandas.core.generic.NDFrame.head" correct. :)
Docstring for "pandas.core.generic.NDFrame.tail" correct. :)
