3 ms·
Two reasons. First is that NumPy works in Python 2 as well as 3. Second is that everyone uses NumPy for this. It is proven, it is fast, and using it for simpl
by jzwinck 9y ago
Two reasons. First is that NumPy works in Python 2 as well as 3.
Second is that everyone uses NumPy for this. It is proven, it is fast, and using it for simple things is a great way to get started on a path toward using it for more complex things. For example I use NumPy for tabular text processing sometimes, as it is much faster than the built-in stuff if you have a lot of data.