[Numpy-discussion] concatenate trouble

Neal Becker ndbecker2@gmail....
Fri Jan 30 10:26:00 CST 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