On Fri, Oct 16, 2015 at 11:58 AM, <josef.p...@gmail.com> wrote: > was there a change with reduce operations with recarrays in 1.10 or 1.10.1? > > Travis shows a new test failure in the statsmodels testsuite with 1.10.1: > > ERROR: test suite for <class > 'statsmodels.base.tests.test_data.TestRecarrays'> > > File > "/home/travis/miniconda/envs/statsmodels-test/lib/python2.7/site-packages/statsmodels-0.8.0-py2.7-linux-x86_64.egg/statsmodels/base/data.py", > line 131, in _handle_constant > const_idx = np.where(self.exog.ptp(axis=0) == 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.
Chuck
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion