Return orders without the rating and revenue columns

pandas · from Renaming, sorting and dropping

.rename().sort_values().sort_index().drop()na_position.nlargest()

Putting the kettle on…

Starting up…

Exercise 4

Return orders without the rating and revenue columns.

your answer
stuck? the lesson behind it
Renaming, sorting and dropping
Housekeeping — and the two footguns hiding in it.