groupby().transform(f) is very slow if there are assignment statements to the argument of f() #9945
Labels
Duplicate Report
Duplicate issue or pull request
Groupby
Performance
Memory or execution speed performance
Here is the test code:
the output is:
before the for-loop for every group in apply(), it disable the 'mode.chained_assignment' opition:
but there is not such code for
transform()
.The text was updated successfully, but these errors were encountered: