[Numpy-discussion] deprecating assignment to ndarray.data
Jonathan J. Helmus
jjhelmus at gmail.com
Fri Jan 22 01:24:12 EST 2016
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.
Cheers,
- Jonathan Helmus
More information about the NumPy-Discussion
mailing list