[Numpy-discussion] array_equal and array_equiv comparison functions for structured arrays
Fri Aug 26 09:09:53 CDT 2011
as the subject says, the array_* comparison functions currently do not operate
on structured/record arrays. Pull request
implements these comparisons.
There are two commits, differing in their interpretation whether two
arrays with different field names, but identical data, are equivalent; i.e.
res = array_equiv(array((1,2), dtype=[('i','i4'),('v','f8')]),
is True in the current HEAD, but False in its parent.
Feedback and additional comments are invited.
More information about the NumPy-Discussion