[Numpy-discussion] numpy 1.10.1 reduce operation on recarrays
Charles R Harris
charlesr.harris at gmail.com
Fri Oct 16 14:21:19 EDT 2015
On Fri, Oct 16, 2015 at 12:20 PM, Charles R Harris <
charlesr.harris at gmail.com> wrote:
> On Fri, Oct 16, 2015 at 11:58 AM, <josef.pktd at gmail.com> wrote:
>> was there a change with reduce operations with recarrays in 1.10 or
>> Travis shows a new test failure in the statsmodels testsuite with 1.10.1:
>> ERROR: test suite for <class
>> line 131, in _handle_constant
>> const_idx = np.where(self.exog.ptp(axis=0) == 0).squeeze()
>> TypeError: cannot perform reduce with flexible type
>> Sorry for asking so late.
>> (statsmodels is short on maintainers, and I'm distracted)
>> statsmodels still has code to support recarrays and structured dtypes
>> from the time before pandas became popular, but I don't think anyone is
>> using them together with statsmodels anymore.
> There were several commits dealing both recarrays and ufuncs, so this
> might well be a regression.
A bisection would be helpful. Also, open an issue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion