Skip to content

DOC: Sort list of month name strings in ascending order (No Documentation present) #41646

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

Closed
Lokeshrathi opened this issue May 24, 2021 · 1 comment
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@Lokeshrathi
Copy link

No Doc present

While using the datetime library, when we extract month from a given datetime datatype. There should be a way to sort those values in ascending order.
tried:

  1. sorted()
  2. sort_values

Neither of them throws a error nor gives the desired output.

Although found a solution on StackOverflow but I assume, this is used widely in time series problems and could come in handy!

Thank you

@Lokeshrathi Lokeshrathi added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels May 24, 2021
@mroeschke
Copy link
Member

Thanks for the report, this overlaps with the enhancement request in #12993 so closing in favor of that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

2 participants