<div dir="ltr"><div><div>Dear all,<br><br></div>I have a simple question. Is there a way to denote the unchanged dimension in the reshape function? like suppose I have an array named "arr" having three dims with the first dimension length as 48, I want to reshape the first dim into 12*4, but keeping all the other dimension length unchanged. <br>
<br></div><div>like when we slice the array, we can use:  arr[10:40, ... ], "...' represents all remaining dimesions. <br><br></div><div>however when doing reshape, we must use:<br></div><div>arr.reshape(12,-1,arr.shape(1),arr.shape(2))<br>
</div><div><br></div><div>Is there something allowing more flexible reshape, like:<br></div><div>arr.reshape(12,-1,...)?<br><br></div><div>thanks a lot in advance,<br><br>best,<br><br></div><div>Chao<br></div><div>-- <br>
<div dir="ltr"><div>please visit:<br><a href="http://www.globalcarbonatlas.org/" target="_blank">http://www.globalcarbonatlas.org/</a><br></div><div>***********************************************************************************</div>

<div>Chao YUE<br>Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)<br>UMR 1572 CEA-CNRS-UVSQ<br>Batiment 712 - Pe 119<br>91191 GIF Sur YVETTE Cedex</div>
<div>Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16<br></div>

<div>************************************************************************************</div></div>
</div></div>