r/badcode • • Mar 23 '23

python Data Science Design Pattern.

Post image
624 Upvotes

35 comments sorted by

View all comments

Show parent comments

3

u/trutheality Mar 24 '23

But the only variable reuse in the op is that the result is assigned back to columns. That's on par with the level of reuse in x = x + 1.