2891. Method Chaining ¶ Python 1 2 3 4 5 6 7 8import pandas as pd def findHeavyAnimals(animals: pd.DataFrame) -> pd.DataFrame: return animals[animals['weight'] > 100].sort_values( by='weight', ascending=False )[['name']]