<s>[INST] Print the full numpy array When I print a numpy array, I get a truncated representation, but I want the full array. 
Is there any way to do this?
Examples:
>>> numpy.arange(10000)
array([   0,    1,    2, ..., 9997, 9998, 9999])
>>> numpy.arange(10000).reshape(250,40)
array([[   0,    1,    2, ...,   37,   38,   39],
       [  40,   41,   42, ...,   77,   78,   79],
       [  80,   81,   82, ...,  117,  118,  119],
       ..., 
       [9880, 9881, 9882, ..., 9917, 9918, 9919],
       [9920, 9921, 9922, ..., 9957, 9958, 9959],
       [9960, 9961, 9962, ..., 9997, 9998, 9999]])

 [/INST] To clarify on Reed's reply
import numpy
numpy.set_printoptions(threshold=numpy.nan)

Note that the reply as given above works with an initial 'from numpy import *', which is not advisable. 
This also works for me
numpy.set_printoptions(threshold='nan')

For full documentation, see http://docs.scipy.org/doc/numpy/reference/generated/numpy.set_printoptions.html. 
 </s>