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

An amendment in the sorting section #2

Open
axil opened this issue Jan 31, 2023 · 0 comments
Open

An amendment in the sorting section #2

axil opened this issue Jan 31, 2023 · 0 comments

Comments

@axil
Copy link

axil commented Jan 31, 2023

Hi, Zax!

Nice tutorial! I've found a place that could be improved:

sort2.sort_index(level='Category', inplace=True)
print("\nSort by Category, then Subcategory, then UPC EAN, then Description, then Date, then Deparment:")

What it actually does is "Sort by Category, then Date, then Deparment, then Subcategory, then UPC EAN, then Description,"

I've referenced your tutorial in my "Pandas Illustrated" guide: https://news.ycombinator.com/item?id=34550735

Best regards,
Lev

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

No branches or pull requests

1 participant