Why can’t I transpose this np array /u/PHILLLLLLL-21 Python Education

Hi. I have a 2×2 matrix and I want to print a given coloumn as a coloumn

print ((np.transpose(fn[:,1]))) print (((fn[:,1])))

However for both I get :

[ 1. -9.81] anf shape (2,)

Any idea how to get it in a coloum without a loop?

submitted by /u/PHILLLLLLL-21
[link] [comments]

​r/learnpython Hi. I have a 2×2 matrix and I want to print a given coloumn as a coloumn print ((np.transpose(fn[:,1]))) print (((fn[:,1]))) However for both I get : [ 1. -9.81] anf shape (2,) Any idea how to get it in a coloum without a loop? submitted by /u/PHILLLLLLL-21 [link] [comments] 

Hi. I have a 2×2 matrix and I want to print a given coloumn as a coloumn

print ((np.transpose(fn[:,1]))) print (((fn[:,1])))

However for both I get :

[ 1. -9.81] anf shape (2,)

Any idea how to get it in a coloum without a loop?

submitted by /u/PHILLLLLLL-21
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *