Skip to content

DOC: changed description of value_counts function #54180

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

Conversation

ArchPh03nix
Copy link
Contributor

Changed the description of value_counts function

Changed the description of value_counts function
Fixed line too long error
@@ -6983,7 +6983,8 @@ def value_counts(
dropna: bool = True,
) -> Series:
"""
Return a Series containing counts of unique rows in the DataFrame.
Return a Series containing the number of times each unique row occurs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our code check notes that this should fit on one line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue should be fixed with the most recent commit and now also adhere to the 88 character limit for lines.

@mroeschke mroeschke added this to the 2.1 milestone Jul 20, 2023
@mroeschke mroeschke merged commit bf75b20 into pandas-dev:main Jul 20, 2023
@mroeschke
Copy link
Member

Thanks @ArchPh03nix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: value_counts description doesn't match code logic
2 participants