Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2891. Method Chaining
Given a DataFrame of animals, return the names of animals with weight > 100 sorted by weight in descending order. Do this as a single-line Pandas method-chained expression that filters by weight, sorts by weight descending, and selects the name column.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.