
June 2, 2010
2:42 p.m.
I'm about to commit some changes in the numpy trunk regarding the masked constant. Namely, 'masked' is now its own object. It inherits from MaskedArray, but doesn't have a fill_value and is represented slightly differently:
repr(ma.masked) 'masked' The reason behind that is to reduce the headaches of new users (who tend to wonder why a masked item has a different fill_value than the original array (that's because it's a *constant*)). Any objections ? (I could have silently committed that a while ago, but I don't want to mess w/ anybody's supplies of chill-pills...) P.
5363
Age (days ago)
5363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pierre GM