Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/tos/GitHub/numpy/numpy/core/fromnumeric.py", line 181, in take

return _wrapfunc(a, 'take', indices, axis=axis, out=out, mode=mode)


 "/Users/tos/GitHub/numpy/numpy/core/fromnumeric.py", line 51, in _wrapfunc

return getattr(obj, method)(*args, **kwds)
IndexError: index 1 is out of bounds for size 0

Traceback (most recent call last):

 "C:\Python33\lib\logging__init__.py", line 943, in emit

 "C:\Python33\lib\logging__init__.py", line 923, in flushOSError: [Errno 9] Bad file descriptor