Skip to content

DOC: Minor fix to docstring formatting for head() and tail() #58589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2024

Conversation

albanie
Copy link
Contributor

@albanie albanie commented May 6, 2024

Fix minor inconsistency in docstring formatting for head() and tail().

Fix the code formatting for the n variable appearing in the docstrings of head() and tail() so that it is consistent with surrounding uses of the variable.

Fix minor inconsistency in docstring formatting for `head()` and `tail()`.

Fix the code formatting for the `n` variable appearing in the docstrings of `head()` and `tail()` so that it is consistent with surrounding uses of the variable.
@albanie albanie changed the title Minor fix to docstring formatting for head() and tail() DOC: Minor fix to docstring formatting for head() and tail() May 6, 2024
@mroeschke mroeschke added the Docs label May 6, 2024
@mroeschke mroeschke added this to the 3.0 milestone May 6, 2024
@mroeschke mroeschke merged commit 1c88435 into pandas-dev:main May 6, 2024
10 of 17 checks passed
@mroeschke
Copy link
Member

Thanks @albanie

pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…das-dev#58589)

* Minor fix to docstring formatting

Fix minor inconsistency in docstring formatting for `head()` and `tail()`.

Fix the code formatting for the `n` variable appearing in the docstrings of `head()` and `tail()` so that it is consistent with surrounding uses of the variable.

* Update pandas/core/generic.py

---------

Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants