[Numpy-discussion] Empty record arrays
Mon Mar 5 19:44:00 CST 2007
On 3/5/07, Christopher Barker <Chris.Barker@noaa.gov> wrote:
> empty() works too, but why would you want an empty array?
I wanted to use rec.fromrecords so that the interface is consistent.
For example, suppose I have a list comprehension that generates the
variable "recs". Sometimes the list comprehension returns an empty
list. It seems natural to except rec.fromrecords to generate an empty
record array in that case.
More information about the Numpy-discussion