strange numpy behaviour

2014-10-08 Thread George Trojan
This does not look right: dilbert@gtrojan python3.4 Python 3.4.1 (default, Jul 7 2014, 15:47:25) [GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux Type help, copyright, credits or license for more information. import numpy as np a=np.ma.array([0, 1], dtype=np.int8, mask=[1, 0]) a

Re: strange numpy behaviour

2014-10-08 Thread Ian Kelly
On Wed, Oct 8, 2014 at 10:29 AM, George Trojan george.tro...@noaa.gov wrote: This does not look right: dilbert@gtrojan python3.4 Python 3.4.1 (default, Jul 7 2014, 15:47:25) [GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux Type help, copyright, credits or license for more information.