Skip to content
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

DOC: Extended the documentation for DataFrame.sort_values() #57677

Closed
wants to merge 1 commit into from

Conversation

aallahyar
Copy link
Contributor

The current docstring for DataFrame.sort_values() is lacking clarity, and also contains links that are not converted to hyperlinks. I extended and rephrased part of the documentation for this method. In particular:

  • Added further explanation to compare the single-column vs. multi-column sorting,
  • Extended explanation for customized sorting via key argument,
  • Provided a simplified version of natsort example, with added explanation.

…rther explain the single-column vs. multi-column sorting; added further explanation and simplification for customized sorting, e.g, using `natsort` package
@aallahyar aallahyar changed the title DOC: Extended the documentation for pandas.DataFrame.sort_values() DOC: Extended the documentation for DataFrame.sort_values() Feb 29, 2024
@aallahyar aallahyar marked this pull request as draft February 29, 2024 10:58
@aallahyar aallahyar closed this Feb 29, 2024
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.

1 participant