[Numpy-discussion] patch for new mgrid / ogrid functionality
Travis E. Oliphant
Sat Sep 13 14:03:48 CDT 2008
Stéfan van der Walt wrote:
> 2008/9/13 Travis E. Oliphant <firstname.lastname@example.org>:
>> Generally, it is O.K. except that he changes the output from a numpy
>> array to a list of numpy arrays. This is a small change, but it is an
>> API change. I'm not sure why he found it necessary to do that, but it
>> would be easier to apply the patch if it didn't change the API.
> The example he gave illustrated having a mixed bag of types in one
> grid. You can do that with two arrays, but not one, unless you use
> object-arrays for everything. Maybe that makes sense.
I don't see why you have to use object-arrays for everything, but
obviously you would for the mixed types.
More information about the Numpy-discussion