np.array is a function; np.ndarray is the correct type.