Movatterモバイル変換
[0]ホーム
How to create 3 dimension array from 1 & 2 dimension arrray
Klaus BrunsKlaus.Bruns at teleatlas.com
Fri Apr 27 05:39:28 EDT 2001
Klaus Bruns wrote:> Tawee Laoitichote wrote:>> > Dear,> >> > I have 1 dimension array having shape like (3,) and 2 dimension array;> > (4,4). Then, I want to create new array from these two arrays having new> > dimension as (3,4,4), Help please!>> try this:>> >>> l1 = (3,)> >>> l2 = (4,4)> >>> l1 + l2> (3, 4, 4)> >>>Oh sorry, I didn't catch the content correctly.
More information about the Python-listmailing list
[8]ページ先頭