SyntaxFix
Write A Post
Hire A Developer
Questions
Is there a prize for being lazy and using the transpose function of NumPy arrays? ;)
import numpy as np a = np.array([(1,2,3), (4,5,6)]) b = a.transpose()