On Thu, Jan 21, 2016 at 10:24 PM, Jonathan J. Helmus <jjhel...@gmail.com> wrote: > On 1/21/2016 8:32 PM, Nathaniel Smith wrote: >> >> >> > Does this apply in any way to the .data attribute in scipy.sparse >> > matrices? >> >> Nope! >> >> -n >> > > How about the .data attribute of masked arrays? I'm guessing there may be a > decent amount of code that uses array.data to try to duck-type ndarrays and > MaskedArrays even though there are better ways to do this, for example > np.ma.getdata.
It turns out the .data attribute on MaskedArrays has nothing whatsoever to do with the .data attribute on ndarrays, so yeah, this is also unaffected. -n -- Nathaniel J. Smith -- https://vorpus.org _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion