[SciPy-User] [scipy-user] How to add a 1D np.array to another np.array?

Samuel John scipy@samueljohn...
Thu Feb 2 03:58:01 CST 2012


Hi Fabien!

On 02.02.2012, at 09:34, Fabien Lafont wrote:
> In fact I would prefer, replace the first 0 by [2,4] but it still
> interesting, thx!

...that is only possible with lists of lists.
Arrays have to have the same dimension for each entry. 

bests,
 Samuel


More information about the SciPy-User mailing list