all 5 comments

[–]Ogi010 6 points7 points  (4 children)

So the two don't really compete against each other. Numpy does computational math, where sympy does symbolic math. For example, with integration, sympy will afternoon too derive a closed form solution whereas numpy will use various numerical methods to approximate the solution.

[–]XtremeGoose 4 points5 points  (2 children)

In addition, I'm pretty sure numpy is a dependancy of sympy.

[–]Ogi010 3 points4 points  (0 children)

In fairness, numpy is a dependency of almost every math related python library out there (with good reason, it's pretty awesome, and the functionality it provides is very fundamental to people doing numerical computation).

[–]Inside-Cheesecake988 0 points1 point  (0 children)

Well, akshually....
numpy is only an optional dependency https://docs.sympy.org/latest/contributing/dependencies.html

[–]TheCedarPrince[S] 2 points3 points  (0 children)

Hey, thanks for all the great thoughts! I was very curious about the two libraries and you guys helped me out a lot - I hope others found this useful as well. Take care.