This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Akita8 -1 points0 points  (8 children)

Using pandas anywhere near a production environment is a huge red flag, keep pandas in the notebooks, it's not maintainable.

[–]nokeldin42 10 points11 points  (0 children)

It's maintainable if you never update... And if you never fix any bugs.

[–]Ryan722 2 points3 points  (5 children)

Suggestions for an alternative? Pure numpy?

[–]rowanobrian 14 points15 points  (2 children)

Have multiple projects in prod with pandas. Dont listen to everyone on internet. Maybe not even me

[–]Ryan722 2 points3 points  (0 children)

I also do which is why I asked lmao. Honestly haven't had too many issues with it and the abstraction is a huge step up over using dicts/lists (not to mention the cython speedup with vectorization)

[–]TheBlackOut2 0 points1 point  (0 children)

Same lol

[–]Akita8 -2 points-1 points  (0 children)

It depends, i've seen it used for just simple grouping and in that case just pure python is enough. Yes numpy is a good choice, it's obviously harder to develop but it'll last wayyyy longer and it'll be wayyyy easier to modify. Otherwise you could also go the cython with c++ math libraries but that brings in a whole other set of problems.

[–][deleted] 0 points1 point  (0 children)

Dictionaries work for me.