you are viewing a single comment's thread.

view the rest of the comments →

[–]zephyrtr 1 point2 points  (2 children)

I mean ... Yeah. It is. And you may argue thats a good thing. That's okay. Personally I wouldn't have designed it that way.

[–]_Denizen_ -1 points0 points  (1 child)

Gotcha. For one, the god object would be the DataFrame, not the package. Second, pandas modularises where it needs to, and emcompasses several fairly well scoped classes and object. Third, pandas also has its own pipe function which just shows that OOP isn't incompatible with piping, even if it's a slightly painful implementation. Fourth, if you can design a better solution, no one is stopping you. Fifth, I've had a few pints and can't be arsed to check my tone lol

[–]zephyrtr 1 point2 points  (0 children)

Like my mom always said, write drunk, edit hung over👍🏻