Actually it should be `ma.array`, you don't need the `np` prefix because `ma` is imported in its own right.