Method Chaining Classes in Python Andy | April 15, 2024 That's how you do it in Python. But I still prefer the %>% operator in R or the Unix pipeline.