About 23,500 results
Open links in new tab
  1. numpy.transpose — NumPy v2.5 Manual

    numpy.transpose # numpy.transpose(a, axes=None) [source] # Returns an array with axes transposed. For a 1-D array, this returns …

  2. numpy.transpose — NumPy v1.23 Manual

    numpy.transpose # numpy.transpose(a, axes=None) [source] # Reverse or permute the axes of an array; returns the modified array. …

  3. Python | Numpy numpy.transpose() - GeeksforGeeks

    Dec 10, 2025 · Syntax numpy.transpose (a, axes=None) Parameters: a: Input array to transpose axes (Optional): tuple that defines …

  4. NumPy transpose () - Python Tutorial

    In this tutorial, you'll learn how to use the numpy transpose() function to reverse the axes of an array.

  5. Numpy transpose () Function - Online Tutorials Library

    The Numpy transpose() Function permutes the dimension of the given array. It returns a view wherever possible. It's commonly used …

  6. NumPy transpose () - Programiz

    The transpose () method swaps the axes of the given array. The transpose () method swaps the axes of the given array similar to the …

  7. NumPy: Transpose ndarray (swap rows and columns, rearrange axes)

    Nov 21, 2019 · To transpose NumPy array ndarray (swap rows and columns), use the T attribute (.T), the ndarray method transpose …

  8. How to Transpose an Array in Python

    Sep 22, 2026 · Learn how to transpose an array in Python using NumPy .T, np.transpose (), zip (), list comprehension, and loops. …

  9. NumPy transpose () - DataCamp

    NumPy transpose () The NumPy transpose () function is an array operation that reverses or permutes the axes of an array. It is …

  10. How does numpy.transpose work for this example? - Stack Overflow

    Oct 13, 2015 · Here's a little more clarification: Don't confuse the parameters of np.reshape (z, y, x) with those of np.transpose (0, 1, …