[Numpy-discussion] wiki page for record arrays

Stefan van der Walt stefan at sun.ac.za
Tue Feb 21 07:56:09 CST 2006


Hi Gary

Thanks for your suggestions.  I incorporated them.

Stéfan

On Wed, Feb 22, 2006 at 01:24:24AM +1100, Gary Ruben wrote:
> 1. I'd put 'assumes from numpy import *' in the preamble.

> 2. Is it possible to change the formatting to make it more obvious what 
> is input and what is output? I think it is better to show the input and 
> output with a standard Python prompt a'la idle or possibly ipython.

> 3. I think it might be worth pointing out that
> 
> img = array([(0,0,0), (1,0,0), (0,1,0), (0,0,1)], [('r',Float32),('g',F
> loat32),('b',Float32)])
> 
> is valid syntax that can be replaced by the 2-line version you present. 

> 4. Can you explain dtype=(void,12)?

> 5. When the page's name is changed, a link should be put to it in the 
> 'Getting Started and Tutorial' section of the Documentation page.




More information about the Numpy-discussion mailing list