#!/usr/bin/env python3
""" defines function that transposes a matrix using numpy """


def np_transpose(matrix):
    """ returns new numpy.ndarray that is a transpose of a matrix """
    return matrix.transpose()
