[Numpy-discussion] typo in docs

Robert Kern robert.kern@gmail....
Wed Jun 9 10:17:03 CDT 2010

On Wed, Jun 9, 2010 at 02:19, Pierre GM <pgmdevlist@gmail.com> wrote:
> On Jun 8, 2010, at 4:37 AM, Sebastian Haase wrote:
>> another note:
>> http://docs.scipy.org/doc/numpy/reference/arrays.indexing.html#arrays-indexing-rec
>> should not say "record array" - because recarray a "special" in that
>> they can even access the  named fields via attribute access rather
>> than using the dictionary-like syntax.
> Well, traditionally, any item of a structured array is called a record, so a ndarray w/ flexible dtype can also be called a record array... recarrays are just a particular case of structured (or record) arrays.

In general usage, that is true. However, we have more or less settled
on consistently using "structured array" in the documentation in order
to avoid confusion with recarrays.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list