[SciPy-user] Transforming 1-d array to 2-d array
Rich Shepard
rshepard at appl-ecosys.com
Wed Feb 28 09:20:06 EST 2007
On Wed, 28 Feb 2007, Dave wrote:
> Sorry, have been quite busy....
Dave,
Apologies not necessary.
> The double brackets was the cause of your original error I suspect - hence
> taking [0] fixed the problem.
That's true.
> I'm not too sure what you're now trying to achieve, but hopefully the code
> below will help you understand array indexing.
Thank you. I've read the indexing section of Travis' book several times
and have a general understanding. It will become clearer as I use NumPy
more.
Rich
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the SciPy-User
mailing list