Comment Comment by minimaxir It's especially weird in this case because the value-proposition of pandas is the ability to do things like aggregation in 3 lines of code and not have to iterate through every row. parent minimaxir 9 years ago