Re: [Numpy-discussion] array - dimension size of 1-D and 2-D examples

2018-01-08 Thread Vinodhini Balusamy
Missed this mail. Thanks Derek For the clarification provided. Kind Rgds, Vinodhini > On 31 Dec 2017, at 10:11 am, Derek Homeier > wrote: > > On 30 Dec 2017, at 5:38 pm, Vinodhini Balusamy wrote: >> >> Just one more question from the details you have provided which f

Re: [Numpy-discussion] array - dimension size of 1-D and 2-D examples

2017-12-30 Thread Vinodhini Balusamy
elements of type list in case 2(with second grid of length 0) ? If possible. I am curious to understand. Kind Rgds, Vinodhini B > On 30 Dec 2017, at 11:36 PM, Derek Homeier > wrote: > > On 30 Dec 2017, at 11:37 am, Vinodhini Balusamy wrote: >> >> Case 2: >&g

[Numpy-discussion] array - dimension size of 1-D and 2-D examples

2017-12-30 Thread Vinodhini Balusamy
Hi, I am new to bumpy and started working on basics. I need clarification for the below behaviour. case 1: >>> x12 = np.array([[1,2,3]]) >>> print(x12) [[1 2 3]] >>> x12.ndim 2 >>> Tried creating a 2-D array. also, >>> x12 = np.array([[1,2,3],[0,0,0]]) >>> print(x12) [[1 2 3] [0 0 0]] >>> x