-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Discovered during a live demo at SciPy 2014 ;)
In [13]: t = Table(masked=True)
In [14]: t['a'] = [1,2,3]
In [15]: t['a'].unit = 'deg'
In [16]: t['a'] * u.deg
Out[16]:
<MaskedColumn name='a' unit=None format=None description=None>
masked_array(data = [<Quantity 1.0 deg> <Quantity 2.0 deg> <Quantity 3.0 deg>],
mask = [False False False],
fill_value = 999999)
This should return just a single quantity, as it does for non-masked tables.
cc @taldcroft