3 ms·
If you haven't tried it already, I recommend you take a look at NumPy, which is the Python module for doing array math. R is great, but as a Python programmer,
by jacobolus 17y ago
If you haven't tried it already, I recommend you take a look at NumPy, which is the Python module for doing array math. R is great, but as a Python programmer, I really prefer staying in Python to using R or Matlab for numerical stuff.
It doesn't have quite the shortcuts for making basic stuff completely trivial (in the 10-50 LOC range), but for anything with more structure, I find it generally works out better in the end.