Skip to content

An amendment in the sorting section #2

@axil

Description

@axil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions