2891. Method Chaining Updated: 2024-03-12 1 min read Algorithms , LeetCode On This PageLeetCode problem 2891import pandas as pd def findHeavyAnimals(animals: pd.DataFrame) -> pd.DataFrame: return animals[animals['weight'] > 100].sort_values('weight', ascending=False)[ ['name'] ]