June 2020
Intermediate to advanced
382 pages
11h 39m
English
There are many operations available for matrix data manipulation. For example, let's try to transpose the preceding matrix. We will use the transpose() function, which will convert columns into rows and rows into columns:
>>> myMatrix.transpose()array([[11, 21, 31], [12, 22, 32], [13, 23, 33]])
Note that matrix operations are used a lot in multimedia data manipulation.
Now that we have learned about data structures in Python, let's move onto the abstract data types in the next section.
Read now
Unlock full access