to you.
>>
>>This array is obtained by doing a
>>csum=np.cumsum(prcnt), which apparently doing some thing which I am not able
>>to visualize.
>>
>>with best regards,
>>Sudheer.
>>
>>>From:Aronne Merrelli
>>
>>>To:Discussion of
('csum.npy') should get the array to you.
>
> This array is obtained by doing a
> csum=np.cumsum(prcnt), which apparently doing some thing which I am not
> able to visualize.
>
> with best regards,
> Sudheer.
>
> >From:Aronne Merrelli
> >To:Discussion of
ize.
with best regards,
Sudheer.
>From:Aronne Merrelli
>To:Discussion of Numerical Python
>Sent:Sunday, 26 May 2013 2:13 PM
>Subject:Re: [Numpy-discussion] array manupulation
>
>
>
>
>
>On Sun, May 26, 2013 at 4:30 AM, Sudheer Joseph
>wrote:
>
>Dear Brian,
On Sun, May 26, 2013 at 4:30 AM, Sudheer Joseph wrote:
> Dear Brian,
> I even tried below but no luck!
> In [138]: xx=np.zeros(11)
> In [139]: xx
> Out[139]: array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.])
>
> In [147]: xx.shape
> Out[147]: (11,)
> In [140]: xx=np.ar
- Original Message -
> From: Sudheer Joseph
> To: Discussion of Numerical Python
> Cc:
> Sent: Sunday, 26 May 2013 6:25 AM
> Subject: Re: [Numpy-discussion] array manupulation
>
>T hank you Brian,
> Though the simple example worked for me,
nsions except for the concatenation axis
must match exactly
- Original Message -
> From: Bryan Van de Ven
> To: Discussion of Numerical Python
> Cc:
> Sent: Saturday, 25 May 2013 11:54 PM
> Subject: Re: [Numpy-discussion] array manupulation
>
> I'm not sure
***
- Original Message -
> From: Bryan Van de Ven
> To: Discussion of Numerical Python
> Cc:
> Sent: Saturday, 25 May 2013 11:54 PM
> Subject: Re: [Numpy-discussion] array manupulation
>
> I'm not sure what you tried, but stack wi
I'm not sure what you tried, but stack will do what you are seeking:
In [7]: cc = np.ones((2,10)) * np.arange(1, 11)
In [8]: cc
Out[8]:
array([[ 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.],
[ 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.]])
In [9]: np.vstack((n
Dear experts,
I can do below operation in matlab but I wanted to do the same in python numpy
array.
I tried np.vstak and np.concatenate but not getting the desired results.
please help. I wanted to add a row of zeros to the beginning of a numpy array.
What is the available quick way.
>> cc=[