[Numpy-discussion] concatenate trouble

Neal Becker ndbecker2 at gmail.com
Fri Jan 30 11:26:00 EST 2009


What's the problem here?

 print np.concatenate (np.ones (10, dtype=complex), np.zeros (10, 
dtype=complex))
TypeError: only length-1 arrays can be converted to Python scalars






More information about the NumPy-Discussion mailing list