+ 1

Numpy And Python

Why do we use numpy ? Can’t we just work with python default libraries?

23rd Jun 2022, 3:29 PM
Kawtar
Kawtar - avatar
4 Answers
+ 4
Yes we could: In Python we have lists that serve the purpose of arrays, but they are slow to process. NumPy aims to provide an array object that is up to 50x faster than traditional Python lists.
23rd Jun 2022, 3:38 PM
Chris Coder
Chris Coder - avatar
+ 3
Numpy is one of the most commonly used packages for scientific computing in Python. It provides a multidimensional array object, as well as variations such as masks and matrices, which can be used for various math operations. Numpy is compatible with, and used by many other popular Python packages, including pandas and matplotlib.
23rd Jun 2022, 5:16 PM
😇🌟SWATI🌟😇
😇🌟SWATI🌟😇 - avatar
+ 2
You can, but numpy is popular for a reason. You can work with large datasets more easily and faster.
23rd Jun 2022, 3:39 PM
Slick
Slick - avatar