Jamie Mitchell <jamiemitchell1...@gmail.com> writes: > ... > I then get a memory error: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/sci/lib/python2.7/site-packages/scipy/stats/stats.py", > line 2409, in pearsonr > x = np.asarray(x) > File "/usr/local/sci/lib/python2.7/site-packages/numpy/core/numeric.py", > line 321, in asarray > return array(a, dtype, copy=False, order=order) > MemoryError
"MemoryError" means that Python cannot get sufficent memory from the operating system. You have already found out one mistake. Should you continue to get "MemoryError" after this is fixed, then your system does not provide enough resources (memory) to solve the problem at hand. You would need to find a way to provide more resources. -- https://mail.python.org/mailman/listinfo/python-list