:11:48 +0100
> From: Derek Homeier <de...@astro.physik.uni-goettingen.de>
> To: Discussion of Numerical Python <numpy-discussion@python.org>
> Subject: Re: [Numpy-discussion] array - dimension size of 1-D and 2-D
> examples
> Message-ID:
> <cc548593-308b-4561-a03c
: Derek Homeier <de...@astro.physik.uni-goettingen.de>
To: Discussion of Numerical Python <numpy-discussion@python.org>
Subject: Re: [Numpy-discussion] array - dimension size of 1-D and 2-D
examples
Message-ID:
<cc548593-308b-4561-a03c-d3017c707...@astro.physik.uni-goettin
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
On 30 Dec 2017, at 5:38 pm, Vinodhini Balusamy wrote:
>
> Just one more question from the details you have provided which from my
> understanding strongly seems to be Design
> [DEREK] You cannot create a regular 2-dimensional integer array from one row
> of length 3
>>
Thanks Derek for quick clarification.
Just one more question from the details you have provided which from my
understanding strongly seems to be Design
[DEREK] You cannot create a regular 2-dimensional integer array from one row of
length 3
>
> and a second one of length 0. Thus np.array
On 30 Dec 2017, at 11:37 am, Vinodhini Balusamy wrote:
>
> Case 2:
> >>>
> >>> x12 = np.array([[1,2,3],[]])
> >>> x12.ndim
> 1
> >>> print(x12)
> [list([1, 2, 3]) list([])]
> >>>
>In case 2, I am trying to understand why it becomes 1 dimentional ?!?!
>
>
> Case 3:
>