Use .pipe() to apply len to orders after dropping duplicates — returning the ro…

pandas · from Method chaining

chaining.assign().pipe().query().loc[lambda]inplace is a trap

Putting the kettle on…

Starting up…

Exercise 4

Use .pipe() to apply len to orders after dropping duplicates — returning the row count.

your answer
stuck? the lesson behind it
Method chaining
One expression, no half-modified frames, and the same answer every time you run it.