Comment by otsaloma

1 day ago

I don't quite agree, but if this was true, what would you tell a junior colleague in a code review? You can't use this function/argument/convention/etc you found in the official API documentation because...I don't like it? I think any team-maintained Pandas codebase will unavoidably drift into the inconsistent and bad. If you're always working alone, then it can of course be a bit better.

I have strong opinions about Pandas. I've used it since it came out and have coalesced on patterns that make it easy to use.

(Disclaimer: I'm a corporate trainer and feed my family teaching folks how to work with their data using Pandas.)

When I teach about "readable" code, I caveat that it should be "readable for a specific audience". I hold that if you are a professional, that audience is other professionals. You should write code for professionals and not for newbies. Newbies should be trained up to write professional code. YMMV, but that is my bias based on experience seeing this work at some of the biggest companies in the world.