How many extra copies are there in orders

pandas · from Duplicates

.duplicated().drop_duplicates()keep=subset=.value_counts()is_unique

Putting the kettle on…

Starting up…

Exercise 1

How many extra copies are there in orders? Return the count.

your answer
stuck? the lesson behind it
Duplicates
“Duplicate” is a decision you make, and subset= is where you make it.