no keepdims=True in old numpy